fix(security): harden Windows child process spawning

This commit is contained in:
Peter Steinberger
2026-02-15 03:24:21 +01:00
parent 7b697d6128
commit a7eb0dd9a5
7 changed files with 29 additions and 9 deletions

View File

@@ -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 ?? ""),