SecureBlackbox Lite 2020 Python Edition

Questions / Feedback?

on_command_completed Event

Signifies completion of the command execution.

Syntax

class SSHClientCommandCompletedEventParams(object):
  @property
  def command() -> str: ...
  @property
  def exit_status() -> int: ...
  @property
  def exit_message() -> str: ...
  @property
  def exit_signal() -> str: ...

# In class SSHClient:
@property
def on_command_completed() -> Callable[[SSHClientCommandCompletedEventParams], None]: ...
@on_command_completed.setter
def on_command_completed(event_hook: Callable[[SSHClientCommandCompletedEventParams], None]) -> None: ...

Remarks

Subscribe to this event to be notified about completion of the remote command execution. This event fires for every commandin the commands list. The Command parameter indicates the command being completed.

ExitStatus specifies the command's return code. ExitMessage or ExitSignal parameters provide error details if the command execution was terminated forcefully,

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Python Edition - Version 20.0 [Build 8166]