Instance Property

processName

The name of the process.

Declaration

var processName: String { get set }

Discussion

The process name is used to register application defaults and is used in error messages. It does not uniquely identify the process.

See Also

Accessing Process Information

var arguments: [String]

Array of strings with the command-line arguments for the process.

var environment: [String : String]

The variable names (keys) and their values in the environment from which the process was launched.

var globallyUniqueString: String

Global unique identifier for the process.

var isMacCatalystApp: Bool

A Boolean value indicating whether the process is a Mac Catalyst app running in macOS.

var processIdentifier: Int32

The identifier of the process (often called process ID).