From d532a2a4908582c50f110ba9d04daa90ffef245b Mon Sep 17 00:00:00 2001 From: Mateusz Tymek Date: Wed, 4 Feb 2026 21:15:55 +0100 Subject: [PATCH] conditionally set detached to true on non-windows platforms so that OC process can be correctly terminated --- src/ProcessManager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ProcessManager.ts b/src/ProcessManager.ts index cf56ce7..f660ba1 100644 --- a/src/ProcessManager.ts +++ b/src/ProcessManager.ts @@ -87,6 +87,7 @@ export class ProcessManager { stdio: ["ignore", "pipe", "pipe"], shell: true, windowsHide: true, + detached: (process.platform !== "win32"), } );