Jason Ko

Results 1 comments of Jason Ko

In my case, define error prevent node process exit. let pyshell = new PythonShell(filename, options); pyshell.on('error', function (err) { console.log(' error ', err); }) Additionally, I also defined pyshell.on('message' pyshell.on('stderr'...