Disable shell by default in process runner
- Keep `spawn` shell usage limited to Windows defaults - Avoid shell-based command execution on other platforms
This commit is contained in:
1 parent
1fd62443af
commit
ce1b679cc9
1 file changed
+1
-1
@@ -140,7 +140,7 @@ export async function runProcess(
|
||||
cwd: options.cwd,
|
||||
env: options.env,
|
||||
stdio: "pipe",
|
||||
shell: options.shell ?? (process.platform === "win32"),
|
||||
shell: options.shell ?? process.platform === "win32",
|
||||
});
|
||||
|
||||
let stdout = "";
|
||||
|
||||
Reference in new issue
Block a user