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.
2 parents 9060f7f + 7de1258 commit fd08776Copy full SHA for fd08776
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