Instance Property

processIdentifier

Returns the receiver’s process identifier.

Declaration

var processIdentifier: Int32 { get }

Return Value

The receiver’s process identifier.

See Also

Returning Task Information

var arguments: [String]?

Sets the command arguments that should be used to launch the executable.

var currentDirectoryPath: String

Sets the current directory for the receiver.

Deprecated
var environment: [String : String]?

Sets the environment for the receiver.

var launchPath: String?

Sets the receiver’s executable.

Deprecated
var standardError: Any?

Sets the standard error for the receiver.

var standardInput: Any?

Sets the standard input for the receiver.

var standardOutput: Any?

Sets the standard output for the receiver.