Skip to content
Myr

Add executable arguments to spawn in win32

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

Reapply #611 on release branch

authored by John Gee · committed by John Gee · parent b99bcb1 · 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
567 unmodified lines
568 proc = spawn(bin, args, { stdio: 'inherit', customFds: [0, 1, 2] });569 }570 } else {571 args.unshift(bin);572 // add executable arguments to spawn573 args = (process.execArgv || []).concat(args);574 proc = spawn(process.execPath, args, { stdio: 'inherit' });575 }576577 var signals = ['SIGUSR1', 'SIGUSR2', 'SIGTERM', 'SIGINT', 'SIGHUP'];
672 unmodified lines