is it possible to pack a project with childprocess calling external python script?
As subject, especially if the python script also has dependencies: e.g.:
const spawn = require("child_process").spawn;
const pyProg = spawn(config.python_path, [config.gsauth, token[1]]);
pyProg.stdout.on('data', function (data) {
//do something here
});
did you solve this?
This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label
This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.
Hi, I've come across the same issue and would love to know if anyone knows how to deal with it?
Node.js app that executes a python script with pythonApp = spawn('python', 'pathToScript.py'); and checks for pythonApp.stdout.on, pythonApp.stderr.on and pythonApp.on('exit').
I want to package it with PKG, but then the python can't open the pathToScript.py file.