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 });
1.4m articles
1.4m replys
5 comments
57.0k users