Instance Method

launch()

Launches the task represented by the receiver.

Declaration

func launch()

Discussion

Raises an NSInvalidArgumentException if the launch path has not been set or is invalid or if it fails to create a process.

See Also

Running and Stopping a Task

func interrupt()

Sends an interrupt signal to the receiver and all of its subtasks.

func resume() -> Bool

Resumes execution of the receiver task that had previously been suspended with a suspend() message.

func suspend() -> Bool

Suspends execution of the receiver task.

func terminate()

Sends a terminate signal to the receiver and all of its subtasks.

func waitUntilExit()

Block until the receiver is finished.