-
Couldn't load subscription status.
- Fork 223
Closed
Labels
Description
const PythonShell = require('python-shell');
const options = {
pythonPath: './notthepythonpath',
scriptPath: 'scriptdir',
args: [0, 0, 400, 400, 1, store.get('outputPath')],
mode: 'text',
};
let pyshell = new PythonShell('script.py', options);
pyshell.on('error', (err) => {
alert(err);
});I've tried the callback ,and tried on('error') but both doesn't seem to catch it.