acceptable method for finding path to /usr/bin
acceptable method for finding path to /usr/bin
- Subject: acceptable method for finding path to /usr/bin
- From: Chris Heimark <email@hidden>
- Date: Sat, 16 Feb 2008 06:54:52 -0500
My Coca application utilizes /usr/bin/tar, as a result of user
interactions with my application. I run tar in an NSTask and
everything works as I expect.
My questions are:
1) Is there an accepted Cocoa way to find the path to /usr/bin (and
other prime BSD/Unix paths)?
OR
2) Will such Unix utilities ALWAYS be found at /usr/bin, until the
ends of time? (i.e. hard coding is OK)
Thanks.
Chris
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden