Stderr Event
Fired when data (complete lines) come in through stderr.
Syntax
rshell.on('Stderr', [callback])
Callback
The 'callback' is called when the 'Stderr' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.text (buffer) e.EOL
Remarks
The Stderr event is fired every time the process on the remote host outputs a line in its error output. The incoming data is provided through the Text parameter.
EOL indicates whether the ErrEOL string was found on the end of Text or not. If the ErrEOL string was found then EOL is True, otherwise it is False.
When the error stream is closed by the server, a string containing only one NULL character is delivered through this event.