Skip to content

Commit

Permalink
Merge pull request #981 from tj/revert-611-master
Browse files Browse the repository at this point in the history
Revert "add executable arguments to spawn in win32"
  • Loading branch information
shadowspawn committed Jun 24, 2019
2 parents 1979261 + 517ee43 commit 1c1ffca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.js
Expand Up @@ -568,8 +568,6 @@ 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 1c1ffca

Please sign in to comment.