nos

simple and powerful promise-based process spawning

npm install nos
12 downloads in the last week
24 downloads in the last month

nos Build Status Dependency Status

simple and powerful promise-based process spawning

Installation

npm install nos

Usage

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.

npm loves you