1.0.1 • Published 10 years ago

simple-spawner v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
10 years ago

simple-spawner

Spawn a command and pipe the output back to stdin, stdout, and stderr, and returns the stream

Also accepts child_process.spawn options

Installation

npm install simple-spawner --save

Usage

var spawner = require('simple-spawner')
  , cmd = 'ls'
  , args = ['-a', '-l']

spawner(cmd, args, /*, options*/)

License

MIT