simple-spawner
v1.0.1
Published
spawn a command and pipe the output back to std{in,out,err}
Downloads
5
Readme
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