Instance Property

arguments

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

Declaration

@property(readonly, copy) NSArray<NSString *> *arguments;

Discussion

This array contains all the information passed in the argv array, including the executable name in the first element.

See Also

Accessing Process Information

environment

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

globallyUniqueString

Global unique identifier for the process.

processIdentifier

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

processName

The name of the process.