Skip to content

Files

Latest commit

b72ef5b · Feb 14, 2016

History

History
28 lines (20 loc) · 715 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 715 Bytes

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