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

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 2022-11-10 08:40:05 +02:00 committed by Sebastian Malton
parent 613c126f21
commit 6b8413b35f

View File

@ -105,6 +105,7 @@ const computeUnixShellEnvironmentInjectable = getInjectable({
return new Promise((resolve) => {
const shellProcess = spawn(shellPath, shellArgs, {
signal: opts.signal,
detached: true,
env,
});
const stdout: Buffer[] = [];