add -e to bash to support multiline commands

#43 #53
This commit is contained in:
Anton Chaporgin authored and GitHub committed 2022-06-09 10:33:36 +03:00
1 parent 02a3f09f15
commit db59b2620d
1 file changed
+5 -2
+5 -2
View File
@@ -357,7 +357,10 @@ function getExecutable() {
}
var executable;
switch (SHELL) {
case "bash":
case "bash": {
executable = SHELL + "-e";
break;
}
case "python":
case "pwsh": {
executable = SHELL;
@@ -1101,4 +1104,4 @@ function buildProcessTree (parentPid, tree, pidsToProcess, spawnChildProcessesLi
/***/ })
/******/ });
/******/ });