child_process.spawn adds flags that might cause non-native shells to fail on windows #19947
Labels
child_process
Issues and PRs related to the child_process subsystem.
windows
Issues and PRs related to the Windows platform.
wsl
Issues and PRs related to the Windows Subsystem for Linux.
On Windows, when child_process.spawn is given the optional shell parameter (#4598) it makes an assumption that the shell would understand the /c /s flags (cmd.exe or powershell).
This limits the option to use bash (using WSL) on windows.
Can by bypassed by:
But would be nice to have a better solution.
Thanks,
Idan
The text was updated successfully, but these errors were encountered: