Use pull-streams with
A convenient wrapper around
child_process.spawn for use with
var cat =// Read the process's stdout// Write process stdin
Returns a duplex stream with an additional
error prop to handle
proc.stderr. The other child_process methods are available too.
npm install --save pull-spawn-process# with yarnyarn add pull-spawn-process
spawn(command, args?, options?)
The signature is the same as
child_process.spawn, except returns a duplex pull-stream.
var cat =var echo =var eslint =
The rest of the
ChildProcess methods are exposed on the object
Maintained by Jamen Marz (See on Twitter and GitHub for questions & updates)