You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you @naugtur: please node that in node v4.8.0 or higher there is a "shell" argument in spawn method, so you can easily obtain the same effects than using this module.
It would, anyway, preferable to make it work, because one may need to support both old and newer node versions... I will do some investigation soon, thank you!
[edit] simply put: tests are failing on node v4.8.0 and up (including 6.x 7.x)
I run a commands with some arguments:
In node v4.7.3 and earlier versions
The same code breaks by calling just npm and passing all other arguments to bash instead of npm. npm prints usage information instead of installing.
To make a command work in node v4.8.0 or higher, I need to put additional quotes inside, so when passing to bash -c it works as expected.
I'm using the latest version of spawn-shell
The text was updated successfully, but these errors were encountered: