Skip to content

Commit

Permalink
enable shell for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Dec 24, 2023
1 parent 6e16027 commit 9f7f8e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Runner {
const runner = isWindows ? 'node.cmd' : 'node';
this.childProcess = spawnAction(runner, [...finalArgs, cliPath, args], {
cwd: this.rootDir,
shell: false,
shell: isWindows,
detached: !isWindows
});

Expand Down
2 changes: 1 addition & 1 deletion test/cases/runner-cli-stop/runner.cli-stop.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('Server Fixture for Manual Process Stop', function() {
runner = new Runner();
});

before(function() {
before(async function() {
runner.setup(outputPath);

return new Promise((resolve) => {
Expand Down

0 comments on commit 9f7f8e8

Please sign in to comment.