pm2
pm2 copied to clipboard
PM2 Start with args (using --) not working on PowerShell
What's going wrong?
Can't send args to script
How could we reproduce this issue?
pm2 start script -- arg1
Supporting information
Args are recognized as subsequent script to launch
PM2 version 5.3.1 Windows 365 (Same on 10)
Note: It works on cmd
Extra info that will help towards the solution: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_parsing?view=powershell-7.3#the-end-of-parameters-token