IP*Works! 2016 macOS Edition
IP*Works! 2016 macOS Edition
Questions / Feedback?

command (property)

The command to be sent to the remote host.

- (NSString*)command

- (void)setCommand:(NSString*)newCommand

Default Value

""

Remarks

Assigning a UNIX command to this property makes the class attempt to connect to the RemoteHost and execute the command using the rexec protocol. There is no need to append an end-of-line character to the command.

If "" (empty string) is assigned to the Command property, the current connection is broken.

Example (Execute a Command)


RexecControl.Command = "cd /home/username/; ls -al; cd/; ls"

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 macOS Edition - Version 16.0 [Build 7353]