Closed rob4226 closed 2 months ago
Hello!
Thanks for the contribution! But I believe this change by itself is insufficient and breaks a few projects (see https://github.com/NativeScript/nativescript-cli/pull/5808). Can you add the same logic to add quotes on windows on this PR?
Thank you!
Hello, can you please take a look now? Thanks.
All commands fail to run on Windows with newer Node versions with
Error: spawn EINVAL
due to https://github.com/nodejs/node/commit/69ffc6d50dbd9d7d0257f5b9b403026e1aa205ee. This commit addsshell: true
to all thespawn
calls when the platform is Windows.This is similar to https://github.com/NativeScript/NativeScript/issues/10532