execute (method)
Execute a Command on the remote host.
Syntax
- (void)execute:(NSString*)command;
public func execute(_ command: String) throws -> Void
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")