execute Method

Execute a Command on the remote host.

Syntax

def execute(command: str) -> None: ...

Remarks

Calling this method is equivalent to setting the command property to Command.

Example (Execute a Command)


RexecControl.Execute("cd /home/username/; ls -al; cd/; ls")

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