Skip to content
Myr

Merge pull request #611 from hxsf/master

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

add executable arguments to spawn in win32

authored by Tomoaki Abe · committed by GitHub · parents 1b2b950, 66768e7 · Browse files · 1 file+2 added−0 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+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:index.js+2 added
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);573 proc = spawn(process.execPath, args, { stdio: 'inherit' });574 }575576 var signals = ['SIGUSR1', 'SIGUSR2', 'SIGTERM', 'SIGINT', 'SIGHUP'];
659 unmodified lines