Skip to content

Commit

Permalink
fix(web): add shell true (#26411)
Browse files Browse the repository at this point in the history
Add option `shell: true` to allow child process on Windows

Closes #26161
  • Loading branch information
bastienmoulia authored Jun 7, 2024
1 parent 8891bdc commit c5f5320
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/web/src/executors/file-server/file-server.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ export default async function* fileServerExecutor(
const args = getBuildTargetCommand(options, context);
execFileSync(pmCmd, args, {
stdio: [0, 1, 2],
shell: true,
windowsHide: true,
});
} catch {
throw new Error(
Expand Down

0 comments on commit c5f5320

Please sign in to comment.