on_stdout Event
Fired when data (complete lines) come in through stdout.
Syntax
class SShellStdoutEventParams(object): @property def text() -> bytes: ... # In class SShell: @property def on_stdout() -> Callable[[SShellStdoutEventParams], None]: ... @on_stdout.setter def on_stdout(event_hook: Callable[[SShellStdoutEventParams], None]) -> None: ...
Remarks
The on_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.