Skip to content

Commit 9cb0794

Browse files
committed
Test Windows
1 parent aa75767 commit 9cb0794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function runBat() {
6464
const args = Array.from(arguments);
6565
console.log(args.join(' '));
6666
const command = args.shift();
67-
const ret = execSync(command, args, {stdio: 'inherit'});
67+
const ret = spawnSync(command, args, {stdio: 'inherit', shell: true});
6868
if (ret.status !== 0) {
6969
throw ret.error;
7070
}

0 commit comments

Comments
 (0)