Returns the running application with the given process identifier, or nil if no application has that pid.
- macOS 10.6+
The process identifier.
An instance of
NSRunning for the specified
pid, or nil if the application has no process identifier.
Applications that do not have
PIDs cannot be returned from this method.