I\'m running a Python script through a child process in Node.js, like this:
require(\'child_process\').exec(\'python celulas.py\', function (error, stdout, s
You should use exec-sync
That allow your script to wait that you exec is done
really easy to use:
var execSync = require('exec-sync'); var user = execSync('python celulas.py');
Take a look at: https://www.npmjs.org/package/exec-sync