IPWorks SSH 2020 Python Edition

Questions / Feedback?

on_stderr Event

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

Syntax

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

# In class SExec:
@property
def on_stderr() -> Callable[[SExecStderrEventParams], None]: ...
@on_stderr.setter
def on_stderr(event_hook: Callable[[SExecStderrEventParams], None]) -> None: ...

Remarks

The on_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.

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