conditionally set detached to true on non-windows platforms so that OC process can be correctly terminated

This commit is contained in:
Mateusz Tymek
2026-02-04 21:15:55 +01:00
parent 23832461a7
commit d532a2a490

View File

@@ -87,6 +87,7 @@ export class ProcessManager {
stdio: ["ignore", "pipe", "pipe"],
shell: true,
windowsHide: true,
detached: (process.platform !== "win32"),
}
);