diff --git a/ts/smartshell.classes.smartshell.ts b/ts/smartshell.classes.smartshell.ts index e00384c..a6c45c3 100644 --- a/ts/smartshell.classes.smartshell.ts +++ b/ts/smartshell.classes.smartshell.ts @@ -53,7 +53,7 @@ export class Smartshell { const execChildProcess = cp.spawn(commandToExecute, [], { shell: true, env: process.env, - detached: true + detached: false }); this.smartexit.addProcess(execChildProcess);