Re: acceptable method for finding path to /usr/bin
Re: acceptable method for finding path to /usr/bin
- Subject: Re: acceptable method for finding path to /usr/bin
- From: Andrew Farmer <email@hidden>
- Date: Sat, 16 Feb 2008 04:56:03 -0800
On 16 Feb 08, at 03:54, Chris Heimark wrote:
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)
Hard-coding /usr/bin is acceptable. tar has been located there on most
UNIX systems for something like 30 years, so it's unlikely to move
anytime soon.
_______________________________________________
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