then-exec
v0.0.1then-exec
Promisify child_promise's exec method
Install
$ npm install --save then-exec
Usage
const exec = require('then-exec')
exec('ls -A')
.then((error, stdout, stderr) => {
// handle by youself
})
License
MIT © EGOIST