• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: acceptable method for finding path to /usr/bin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >acceptable method for finding path to /usr/bin (From: Chris Heimark <email@hidden>)

  • Prev by Date: Re: [Foo new] vs [[Foo alloc] init]:
  • Next by Date: Re: AnimatingTabView broken
  • Previous by thread: Re: acceptable method for finding path to /usr/bin
  • Next by thread: determining free memory
  • Index(es):
    • Date
    • Thread