Instance Property

environment

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

Declaration

@property(readonly, copy) NSDictionary<NSString *,NSString *> *environment;

See Also

Accessing Process Information

arguments

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

globallyUniqueString

Global unique identifier for the process.

macCatalystApp

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

processIdentifier

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

processName

The name of the process.