diff --git a/index.js b/index.js index 4956c5013..da594e9cd 100644 --- a/index.js +++ b/index.js @@ -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' }); }