command (property)

The command to be sent to the remote host.

Syntax

@property (nonatomic,readwrite,assign,getter=command,setter=setCommand:) NSString* command;
- (NSString*)command;
- (void)setCommand:(NSString*)newCommand;
public var command: String {
  get {...}
set {...} }

Default Value

""

Remarks

Assigning a command to this property makes the class attempt to connect to the SSHHost and execute the command under the user's shell. There is no need to append an end-of-line character to the command. All output from the remote application will be returned through the Stdout event.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 iOS Edition - Version 20.0 [Build 8501]