simple-exec-promise Small promise wrapper around child_process.exec Installation npm i simple-exec-promise -S Usage var exec = require('simple-exec-promise') exec('sleep 5') .then(function() { console.log('done!') })