pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

PM2 Start with args (using --) not working on PowerShell

Open Atheryl opened this issue 1 year ago • 1 comments

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

Atheryl avatar Feb 12 '24 16:02 Atheryl

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

ultimate-tester avatar Mar 08 '24 19:03 ultimate-tester