sprawn
v0.0.0
Published
child_process.spawn with a promise
Downloads
2
Readme
#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.
