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: Nick Zitzmann <email@hidden>
- Date: Sat, 16 Feb 2008 14:35:17 -0700
On Feb 16, 2008, at 4:54 AM, Chris Heimark wrote:
1) Is there an accepted Cocoa way to find the path to /usr/bin (and
other prime BSD/Unix paths)?
No.
2) Will such Unix utilities ALWAYS be found at /usr/bin, until the
ends of time? (i.e. hard coding is OK)
Generally, the answer is yes. As someone already pointed out, the
location of tar is extremely unlikely to ever change. However, there
is one case where it may not be present - if the user is using Panther
or earlier and did not install the BSD subsystem.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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