[BUG] NPX + Powershell + Silent passes no arguments to the application #6366
Labels
Bug
thing that needs fixing
platform:windows
is Windows-specific
Release 9.x
work is associated with a specific npm 9 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Assuming I have an app which does the following
And I want to run it without progress bar and no NPM output:
npm --silent --no-progress exec myapp -- some-parameter
ornpx --silent --no-progress myapp some-parameter
If I run the command above under Windows PowerShell, the output is:
[]
NOTES:
no-progress
andsilent
parameters.Expected Behavior
[ "some-parameter" ]
Steps To Reproduce
No response
Environment
npm config ls
The text was updated successfully, but these errors were encountered: