Stdout Event
Fired when data (complete lines) come in through stdout.
Syntax
rshell.on('Stdout', [callback])
Callback
The 'callback' is called when the 'Stdout' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.text (buffer) e.EOL
Remarks
The Stdout event is fired every time the process on the remote host outputs a line in its standard output. The incoming data is provided through the Text parameter.
EOL indicates whether the EOL string was found on the end of Text or not. If the EOL string was found then EOL is True, otherwise it is False.