mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 20:18:28 +00:00
fix(security): harden Windows child process spawning
This commit is contained in:
@@ -107,7 +107,6 @@ async function execLaunchctl(
|
||||
try {
|
||||
const { stdout, stderr } = await execFileAsync("launchctl", args, {
|
||||
encoding: "utf8",
|
||||
shell: process.platform === "win32",
|
||||
});
|
||||
return {
|
||||
stdout: String(stdout ?? ""),
|
||||
|
||||
Reference in New Issue
Block a user