sprawn

0.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i sprawn

Weekly Downloads

0

Version

0.0.0

License

MIT

Last publish

Collaborators

  • rafkhan