We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa75767 commit 9cb0794Copy full SHA for 9cb0794
index.js
@@ -64,7 +64,7 @@ function runBat() {
64
const args = Array.from(arguments);
65
console.log(args.join(' '));
66
const command = args.shift();
67
- const ret = execSync(command, args, {stdio: 'inherit'});
+ const ret = spawnSync(command, args, {stdio: 'inherit', shell: true});
68
if (ret.status !== 0) {
69
throw ret.error;
70
}
0 commit comments