Einhugur macOS Bridge plugin. |

# NSRunningApplication.RunningApplicationWithProcessIdentifier Method

Returns the running application with the given process identifier, or nil if no application has that pid.

shared RunningApplicationWithProcessIdentifier(
pid as Int32) as EinhugurMacOSBridge.NSRunningApplication

#### Parameters

pid
  The process identifier.

#### Returns

EinhugurMacOSBridge.NSRunningApplication
  An instance of NSRunningApplication for the specified pid, or nil if the application has no process identifier.

#### Remarks

Applications that do not have PIDs cannot be returned from this method.

#### See Also

NSRunningApplication Class