Unverified Commit b90f3da9 authored by Bartosz Sosnowski's avatar Bartosz Sosnowski Committed by Anna Henningsen
Browse files

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: default avatarJoão Reis <reis@janeasystems.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarJosh Gavant <josh.gavant@outlook.com>
Reviewed-By: default avatarRod Vagg <rod@vagg.org>
parent 88ed3d26
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment