Nodejs function to execute child process in promise style
JavaScript CoffeeScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
Gruntfile.coffee
LICENSE
README.md
index.js
package.json

README.md

Built with Grunt Build Status

NPM version Deps Status devDependency Status

NPM

exequte

Nodejs function to execute child process in promise style

Usage

Use as in examples below:

JavaScript Example

var exec = require('exequte');

exec('git', ['help']).then(function(out){
	console.log(out);
}.fail(function(err){
	console.log err;
});

CoffeeScript Example

exec = require 'exequte'

exec('git', ['help'])
	.then (out) ->
		console.log out
	.fail (err) ->
		console.log err