aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stendahl <14180120+JakobST1n@users.noreply.github.com>2021-10-15 12:19:41 +0200
committerGitHub <noreply@github.com>2021-10-15 12:19:41 +0200
commit9586c1e997368c646c673bd6026214a10bf55357 (patch)
tree19c65d3e54a0d54c71649ac98375c9ba0177bd58
parent9ebd478e72f1635ad38277e6e9f5ad8649eedbfe (diff)
downloadLuxcena-Neo-9586c1e997368c646c673bd6026214a10bf55357.tar.gz
Luxcena-Neo-9586c1e997368c646c673bd6026214a10bf55357.zip
:hammer: Make update script start in it's own shell
-rw-r--r--src/SelfUpdater/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SelfUpdater/index.js b/src/SelfUpdater/index.js
index 4292c74..e9bd4c7 100644
--- a/src/SelfUpdater/index.js
+++ b/src/SelfUpdater/index.js
@@ -64,7 +64,8 @@ class VersionChecker {
spawn("luxcena-neo-cli.sh", ["update", ">>", "/tmp/luxcena-neo-update.log"], {
cwd: process.cwd(),
detached : true,
- stdio: "inherit"
+ stdio: "inherit",
+ shell: "/bin/bash"
});
}