child_process, win: fix shell spawn with AutoRun
Under Windows system can be configured to execute a specific command each time a shell is spawned. Under some conditions this breaks the way node handles shell scripts under windows. This commit adds /d switch to spawn and spawnSync which disables this AutoRun functionality. Fixes: https://github.com/nodejs/node-v0.x-archive/issues/25458 PR-URL: https://github.com/nodejs/node/pull/8063 Reviewed-By:João Reis <reis@janeasystems.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Josh Gavant <josh.gavant@outlook.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
parent
88ed3d26
Please register or sign in to comment