Created
February 14, 2016 11:26
-
-
Save dgoguerra/cdcf3f490e0b74fa53e2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 readline = require('readline'); | |
var rl = readline.createInterface({ | |
input: proc.stdout, | |
terminal: false | |
}); | |
rl.on('line', function(line) { | |
console.log('new line: '+line); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment