On Oct 4, 2013, at 12:08 AM, Nick Rogers wrote:
> Is this even possible?
Basically no. In Unix there is no connection from an executable file to a
process running that file (or from _any_ file to a process that has that file
open, really.) The most exhaustive solution is what the `lsof` and `
> On Oct 4, 2013, at 12:08 AM, Nick Rogers wrote:
>
> Hi,
>
> I need to know if a binary is executing or not. I just have the path to the
> binary e.g. /Applications/MyApp.app/Contents/MacOS/MyApp
From the OS’s point of view, your question is ill-formed. The user can create a
hardlink to the
Hi,
I need to know if a binary is executing or not. I just have the path to the
binary e.g. /Applications/MyApp.app/Contents/MacOS/MyApp
There's NSRunningApplication method runningApplicationsWithBundleIdentifier: ,
but I have other binaries which are embedded in this app which don't have a
bu