nos

0.0.5 • Public • Published

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.

Package Sidebar

Install

npm i nos

Weekly Downloads

0

Version

0.0.5

License

MIT

Last publish

Collaborators

  • dbkaplun