Skip to content

Commit d970c41

Browse files
vikas5914d8vjork
authored andcommitted
Fix issue with Laravel Herd
1 parent 55c3603 commit d970c41

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/PhpCommand.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export default class PhpCommand {
1313
}
1414

1515
const exec = spawn(this.cmd, this.args, {
16-
cwd: cwd || this.cwd
16+
cwd: cwd || this.cwd,
17+
shell: platform() === "win32" ? true : undefined
1718
});
1819
}
1920

@@ -26,4 +27,4 @@ export default class PhpCommand {
2627

2728
return `${this.cmd}${stringifiedArgs}`;
2829
}
29-
}
30+
}

0 commit comments

Comments
 (0)