Sets the current directory for the receiver.
- macOS 10.0–10.13Deprecated
The current directory for the task.
If this method isn’t used, the current directory is inherited from the process that created the receiver. This method raises an
NSInvalid if the receiver has already been launched.