Skip to content

Commit

Permalink
Fix issue with Laravel Herd
Browse files Browse the repository at this point in the history
  • Loading branch information
vikas5914 authored and d8vjork committed Jul 5, 2024
1 parent 55c3603 commit d970c41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/PhpCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export default class PhpCommand {
}

const exec = spawn(this.cmd, this.args, {
cwd: cwd || this.cwd
cwd: cwd || this.cwd,
shell: platform() === "win32" ? true : undefined
});
}

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

return `${this.cmd}${stringifiedArgs}`;
}
}
}

0 comments on commit d970c41

Please sign in to comment.