SecureBlackbox Lite 2020 Python Edition

Questions / Feedback?

on_command_start Event

Marks the commencement of a command execution.

Syntax

class SSHClientCommandStartEventParams(object):
  @property
  def command() -> str: ...

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

Remarks

Subscribe to this event to be notified about the start of execution of a remote command. The Command parameter indicates the command being started.

This event is fired for all commands in the commands list, in order. The completion of the command is reported via the on_command_completed event.

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