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

Fix double command.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti 2022-10-21 16:35:58 +03:00
parent ffce337827
commit 3294d43c1b

View File

@ -54,7 +54,7 @@ const computeUnixShellEnvironmentInjectable = getInjectable({
shellProcess.stdout.on("data", b => stdout.push(b));
shellProcess.stdin.write(command);
shellProcess.stdin.end(command);
shellProcess.stdin.end();
shellProcess.on("close", (code, signal) => {
if (code || signal) {