exequte

Nodejs function to execute child process in promise style

exequte

Nodejs function to execute child process in promise style

Use as in examples below:

var exec = require('exequte');
 
exec('git', ['help']).then(function(out){
    console.log(out);
}.fail(function(err){
    console.log err;
});
exec = require 'exequte'
 
exec('git'['help'])
    .then (out) ->
        console.log out
    .fail (err) ->
        console.log err