0.0.0 • Published 9 years ago

sprawn v0.0.0

Weekly downloads
2
License
MIT
Repository
-
Last release
9 years ago

#Sprawn

Promises and external commands!

This library wraps child_process.spawn() and handles it with promises.

API

.exec(cmd, args)

Execute cmd with an array args and return a promise. Resolves if the process returns 0, reject otherwise.

.resolve(cmd, args)

Execute cmd with an array args and return a promise. Resolves when the process ends.