Skip to content

Commit

Permalink
shell = false
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny-Dasilva committed Aug 10, 2024
1 parent 7ef6655 commit 0ea779a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const handleSpawn = (debug: boolean, fileName: string, port: number, filePath?:
const execPath = filePath ? `"${filePath}"` : `"${path.join(__dirname, fileName)}"`;
child = spawn(execPath, {
env: { WS_PORT: port.toString() },
shell: true,
shell: false,
windowsHide: true,
detached: process.platform !== "win32"
});
Expand Down

0 comments on commit 0ea779a

Please sign in to comment.