then-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}) => { // your code }) License MIT © EGOIST