vigour-spawn

1.0.10 • Public • Published

spawn

var prom = spawn(command, [args], [opts])

  • command (String) - A command name or a full command string
  • [args] (Array|Object) - An array of arguments (or extra arguments) for the command OR the opts Object (see below)
  • [opts] (Object) - Options to pass along to process.spawn, plus the following additional options
  • [opts.quiet] (Boolean) - Suppresses logging of the actual command executed (logged by default). Default: false
  • [opts.getOutput] (Boolean) - Promise will resolve with everything anything the command sent to stdout and stderr
  • [opts.verbose] (Boolean) - Logs whatever the command sent to stdout and stderr
  • returns (Promise) prom - Resolves when child process is completed

Readme

Keywords

Package Sidebar

Install

npm i vigour-spawn

Weekly Downloads

10

Version

1.0.10

License

MIT

Last publish

Collaborators

  • vigour-io