0.0.0 • Published 9 years ago
sprawn v0.0.0
#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.
0.0.0
9 years ago