Created
December 16, 2013 15:15
-
-
Save czzarr/7988649 to your computer and use it in GitHub Desktop.
piping data to feedgnuplot in a child process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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