POSIX equiv to [nsBundle mainBundle] bundlePath]
POSIX equiv to [nsBundle mainBundle] bundlePath]
- Subject: POSIX equiv to [nsBundle mainBundle] bundlePath]
- From: "tobias ford..." <email@hidden>
- Date: Thu, 24 Jul 2003 15:29:15 -0500
I'm needing to find a way to get the path to where the actual
executable file resides using POSIX apis. For example:
foo is located at /usr/bin/foo
when I execute foo, I want it to print /usr/bin/foo no matter what
directory I'm in.
something that is equivalent to [nsBundle mainBundle] bundlePath]
any suggestions? please cc me directly.
thanks
-------------------
Tobias Ford...
email@hidden email@hidden
-------------------
Senior Software Engineer @ WolfPack Studios
www.wolfpackstudios.com www.shadowbane.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.