powerShellStart() fixed kill issue

This commit is contained in:
Sebastian Hildebrandt
2024-05-31 11:34:29 +02:00
parent 7071e8fb3a
commit 7debd4ce6e
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -416,7 +416,7 @@ function powerShellStart() {
powerShellProceedResults(_psResult + _psError);
});
_psChild.on('close', function () {
_psChild.kill();
if (_psChild) { _psChild.kill(); }
});
}
}