nos

simple and powerful promise-based process spawning

nos

simple and powerful promise-based process spawning

npm install nos

var nos = require('nos');
nos('ls').done(function (process) { console.log("pid " + process.pid); });
nos('ls').wait().done(function (process) { console.log("exited with " + process.exitCode); });
nos('echo hello').read().done(function (buf) { console.log("output " + buf.toString()); });

Check out the tests for more ways to use nos.