Skip to content

Commit

Permalink
Merge pull request #611 from hxsf/master
Browse files Browse the repository at this point in the history
add executable arguments to spawn in win32
  • Loading branch information
abetomo committed Jun 24, 2019
2 parents 1b2b950 + 66768e7 commit 1979261
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -568,6 +568,8 @@ Command.prototype.executeSubCommand = function(argv, args, unknown) {
}
} else {
args.unshift(bin);
// add executable arguments to spawn
args = (process.execArgv || []).concat(args);
proc = spawn(process.execPath, args, { stdio: 'inherit' });
}

Expand Down

0 comments on commit 1979261

Please sign in to comment.