IPWorks SSH 2020 Python Edition

Questions / Feedback?

on_stdout Event

Fired when data (complete lines) come in through stdout.

Syntax

class SExecStdoutEventParams(object):
  @property
  def text() -> bytes: ...

# In class SExec:
@property
def on_stdout() -> Callable[[SExecStdoutEventParams], None]: ...
@on_stdout.setter
def on_stdout(event_hook: Callable[[SExecStdoutEventParams], 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.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 Python Edition - Version 20.0 [Build 8501]