environment
The environment for the receiver.
Declaration
var environment: [String : String]? { get set }Parameters
- environmentDictionary:
A dictionary of environment variable values whose keys are the variable names.
Discussion
If this method isn’t used, the environment is inherited from the process that created the receiver. This method raises an NSInvalidArgumentException if the system has launched the receiver.