detach shell process in computeUnixShellEnvironmentInjectable

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2022-11-10 07:38:31 +02:00
1 parent bf11a482c2
commit 705cbc8d06
1 file changed
+1
@@ -106,6 +106,7 @@ const computeUnixShellEnvironmentInjectable = getInjectable({
return new Promise((resolve) => {
const shellProcess = spawn(shellPath, shellArgs, {
signal: opts.signal,
detached: true,
env,
});
const stdout: Buffer[] = [];