History

Disable shell by default in process runner

- Keep `spawn` shell usage limited to Windows defaults - Avoid shell-based command execution on other platforms

Julius Marminge committed 7 months ago

Commit ce1b6791 parent 1fd62441 file · +1 −1Browse files

Unified · Split

apps/server/src/processRunner.ts+1−1
@@ -140,7 +140,7 @@ export async function runProcess( · 139 unmodified lines
140 cwd: options.cwd,140 cwd: options.cwd,
141 env: options.env,141 env: options.env,
142 stdio: "pipe",142 stdio: "pipe",
143 shell: options.shell ?? (process.platform === "win32"),143 shell: options.shell ?? process.platform === "win32",
144 });144 });
145 145
146 let stdout = "";146 let stdout = "";