The NSRunningApplication object in macOS has a processIdentifier property to obtain the PID. The new version of darwinkit does not have this ProcessIdentifier()method. How can we now get the PID of NSRunningApplication?
Thank you.
you can always use objc.Call to use selectors/properties without bindings, but I just added support for members using pid_t. This method should be available in main.
The NSRunningApplication object in macOS has a processIdentifier property to obtain the PID. The new version of darwinkit does not have this
ProcessIdentifier()
method. How can we now get the PID of NSRunningApplication? Thank you.