• 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
acceptable method for finding path to /usr/bin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: acceptable method for finding path to /usr/bin
      • From: Nick Zitzmann <email@hidden>
    • Re: acceptable method for finding path to /usr/bin
      • From: Andrew Farmer <email@hidden>
  • Prev by Date: Resize box not letting clicks through
  • Next by Date: determining free memory
  • Previous by thread: Re: Resize box not letting clicks through
  • Next by thread: Re: acceptable method for finding path to /usr/bin
  • Index(es):
    • Date
    • Thread