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
140140 cwd: options.cwd,
141141 env: options.env,
142142 stdio: "pipe",
143− shell: options.shell ?? (process.platform === "win32"),
143+ shell: options.shell ?? process.platform === "win32",
144144 });
145145
146146 let stdout = "";