diff options
author | Bartosz Sosnowski <bartosz@janeasystems.com> | 2016-08-10 17:01:04 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2016-09-09 20:51:43 +0200 |
commit | b90f3da9deaeda2b04a77af2e11a4b6d33a0c510 (patch) | |
tree | d102d035470c0ad8819a6420700b3d71439fa8ee /src/node_util.cc | |
parent | 88ed3d260e3f111a5a100a377af55317388fcea0 (diff) | |
download | android-node-v8-b90f3da9deaeda2b04a77af2e11a4b6d33a0c510.tar.gz android-node-v8-b90f3da9deaeda2b04a77af2e11a4b6d33a0c510.tar.bz2 android-node-v8-b90f3da9deaeda2b04a77af2e11a4b6d33a0c510.zip |
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>
Diffstat (limited to 'src/node_util.cc')
0 files changed, 0 insertions, 0 deletions