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:
parent
610c195cf5
commit
fadcba1d75
@ -106,6 +106,7 @@ const computeUnixShellEnvironmentInjectable = getInjectable({
|
|||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
const shellProcess = spawn(shellPath, shellArgs, {
|
const shellProcess = spawn(shellPath, shellArgs, {
|
||||||
signal: opts.signal,
|
signal: opts.signal,
|
||||||
|
detached: true,
|
||||||
env,
|
env,
|
||||||
});
|
});
|
||||||
const stdout: Buffer[] = [];
|
const stdout: Buffer[] = [];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user