1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

detach shell process in computeUnixShellEnvironmentInjectable

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2022-11-10 07:38:31 +02:00
parent bf11a482c2
commit 705cbc8d06

View File

@ -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[] = [];