Skip to content
Myr

Merge pull request #981 from tj/revert-611-master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Revert "add executable arguments to spawn in win32"

authored by John Gee · committed by GitHub · parents 1979261, 517ee43 · Browse files · 1 file+0 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−2 removed

  • other:+0 added−2 removed

1 file+0 added−2 removed

modified:index.js-2 removed
566 unmodified lines
567 proc = spawn(bin, args, { stdio: 'inherit', customFds: [0, 1, 2] });568 }569 } else {570 args.unshift(bin);571 // add executable arguments to spawn572 args = (process.execArgv || []).concat(args);571 proc = spawn(process.execPath, args, { stdio: 'inherit' });572 }573574 var signals = ['SIGUSR1', 'SIGUSR2', 'SIGTERM', 'SIGINT', 'SIGHUP'];
659 unmodified lines