Instance Property

running

Returns whether the receiver is still running.

Declaration

@property(readonly, getter=isRunning) BOOL running;

Return Value

YES if the receiver is still running, otherwise NO. NO means either the receiver could not run or it has terminated.

See Also

Querying the Task State

terminationStatus

Returns the exit status returned by the receiver’s executable.

terminationReason

Returns the reason the task was terminated.