Re: Getting BSD process information
Re: Getting BSD process information
- Subject: Re: Getting BSD process information
- From: Mike Smith <email@hidden>
- Date: Thu, 12 Feb 2004 11:13:06 -0800
On Feb 12, 2004, at 10:36 AM, Eric Long wrote:
I would like to be able to identify the file system location of the
executable
associated with a pid_t value.
Can anyone explain to me how that is done?
No. But that's because it can't be done (reliably).
For some classes of applications, you can find them indirectly via
Launch Services, but in the general case the information simply isn't
available with any degree of reliability.
Usually there's a reason for wanting to know this, and often a better
way to go about what you're trying to do. Perhaps we can help in that
area?
= Mike
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.