We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b6c316 commit 7de1258Copy full SHA for 7de1258
index.ts
@@ -407,8 +407,7 @@ export class PythonShell extends EventEmitter {
407
* @returns {PythonShell} The same instance for chaining calls
408
*/
409
kill(signal?: NodeJS.Signals) {
410
- this.childProcess.kill(signal);
411
- this.terminated = true;
+ this.terminated = this.childProcess.kill(signal);
412
return this;
413
};
414
0 commit comments