child-process-es6-promise
v1.2.1
Published
ES6 promise wrapper around child-process
Downloads
9,107
Readme
child-process-es6-promise
ES6 promise wrapper around child-process
Installation
$ npm install -g child-process-es6-promise
Usage
const cp = require('child-process-es6-promise');
cp.spawn('ls', [args], {options})
.then((result)=>{})
.catch((error)=>{});
References
- child-process-promise child_process promise support for older version of nodejs
- child_process Nodejs child_process api
- promise ES6 promise api