conditionally set detached to true on non-windows platforms so that OC process can be correctly terminated
This commit is contained in:
@@ -87,6 +87,7 @@ export class ProcessManager {
|
|||||||
stdio: ["ignore", "pipe", "pipe"],
|
stdio: ["ignore", "pipe", "pipe"],
|
||||||
shell: true,
|
shell: true,
|
||||||
windowsHide: true,
|
windowsHide: true,
|
||||||
|
detached: (process.platform !== "win32"),
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user