Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using struct proc



On Jan 10, 2004, at 10:21 AM, Matt Jaffa wrote:

Using the Proc structure, is there a way to get the information of the app's name, including the directory it is in?

Like /Applications/TextEdit.app/contents/MacOS/TextEdit ?

The proc structure is private; don't depend on being able to access any of it.

In addition, an application may have been launched using a relative path, so the "real" path to it may not be known at launch time (and in fact it may not have one).

= 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.

References: 
 >Using struct proc (From: Matt Jaffa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.