detach shell process in computeUnixShellEnvironmentInjectable (#6551)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2022-11-10 08:40:05 +02:00
1 parent 610c195cf5
commit fadcba1d75
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[] = [];