Fixed issue with termination of running scripts upon invocation of runExecutable function.