simple-spawner

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i simple-spawner

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • whoaa