Commands Property
Specifies the list of commands to execute.
Syntax
ANSI (Cross Platform) char* GetCommands();
int SetCommands(const char* lpszCommands); Unicode (Windows) LPWSTR GetCommands();
INT SetCommands(LPCWSTR lpszCommands);
@property (nonatomic,readwrite,assign,getter=commands,setter=setCommands:) NSString* commands; - (NSString*)commands; - (void)setCommands:(NSString*)newCommands;
#define PID_SSHCLIENT_COMMANDS 3 SECUREBLACKBOXLITE_EXTERNAL void* SECUREBLACKBOXLITE_CALL SecureBlackboxLite_SSHClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOXLITE_EXTERNAL int SECUREBLACKBOXLITE_CALL SecureBlackboxLite_SSHClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Use this property to provide a list of commands to execute remotely. Separate different commands with EOL characters.
When this property is set, the component works in the command mode, meaning each command is executed in its own virtual terminal session. No shell connection is established.
If no commands are provided via this property, the component will establish a shell session.
Data Type
String