- Keep `spawn` shell usage limited to Windows defaults - Avoid shell-based command execution on other platforms
Unified · Split
| @@ -140,7 +140,7 @@ export async function runProcess( · 139 unmodified lines | ||
| 140 | 140 | cwd: options.cwd, |
| 141 | 141 | env: options.env, |
| 142 | 142 | stdio: "pipe", |
| 143 | − shell: options.shell ?? (process.platform === "win32"), | |
| 143 | + shell: options.shell ?? process.platform === "win32", | |
| 144 | 144 | }); |
| 145 | 145 | |
| 146 | 146 | let stdout = ""; |