Skip to content

Instantly share code, notes, and snippets.

@czzarr
Created December 16, 2013 15:15
Show Gist options
  • Save czzarr/7988649 to your computer and use it in GitHub Desktop.
Save czzarr/7988649 to your computer and use it in GitHub Desktop.
piping data to feedgnuplot in a child process
var spawn = require('child_process').spawn
var feedgnuplot = spawn('feedgnuplot', ['--stream 0.02', '--xlen 200', '--lines'])
someReadableStream.pipe(feedgnuplot.stdin)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment