observable-child-process
v0.1.0
Published
Spawn observable child processes
Downloads
4
Maintainers
Readme
observable-child-process
Spawn observable child processes.
Usage
For example to build and push a docker image:
const { spawn } = require('observable-child-process');
spawn('docker', ['build', '-t', 'myimage'], { env: { ...process.env, MY_CUSTOM_ENV_VARIABLE: 'foo' })
.concat(spawn('docker', ['push', 'myimage']));
Resources
- https://nodejs.org/api/child_process.html
- http://reactivex.io/rxjs/class/es6/Observable.js~Observable.html
Licence
MIT