IPWorks 2020 JavaScript Edition

Questions / Feedback?

Execute Method

Executes a Command on the remote host.

Syntax

async rshell.execute(command : string): Promise<void>

Remarks

This method executes a Command on the remote host. Calling this method is equivalent to setting the Command property to Command.

Example (Execute a Command)


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

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