exitStatus (property)
The exit code for the last executed command.
Syntax
@property (nonatomic,readonly,assign,getter=exitStatus) int exitStatus; - (int)exitStatus;
public var exitStatus: Int32 { get {...} }
Default Value
0
Remarks
After executing a command through Execute or by setting Command, the server will send a notification containing the ExitStatus of the command. The server may also send a textual representation of that code, which will be stored in ErrorMessage.
This property is read-only.