var child = require('child_process').exec('python celulas.py') child.stdout.pipe(process.stdout) child.on('exit', function() { process.exit() })