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 ff858cf commit 9cdf10aCopy full SHA for 9cdf10a
README.md
@@ -88,6 +88,7 @@ pyshell.on('message', function (message) {
88
89
// end the input stream and allow the process to exit
90
pyshell.end(function (err,code,signal) {
91
+ if (err) throw err;
92
console.log('The exit code was: ' + code);
93
console.log('The exit signal was: ' + signal);
94
console.log('finished');
0 commit comments