exitStatus (property)
Contains the last commands exit status.
Syntax
@property (nonatomic,readonly,assign,getter=exitStatus) int exitStatus; - (int)exitStatus;
public var exitStatus: Int32 { get {...} }
Default Value
0
Remarks
Check this property to obtain the exit status (also sometimes referred to as errorlevel) of the last command or shell session.
This property is read-only.