Is it possible to execute an external program from within node.js? Is there an equivalent to Python's os.system() or any library that adds this functionality?
os.system()
var exec = require('child_process').exec; exec('pwd', function callback(error, stdout, stderr) { // result });
2.1m questions
2.1m answers
60 comments
57.0k users