• 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: Relying on shell tools to be installed? Where do you find this out?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Relying on shell tools to be installed? Where do you find this out?


  • Subject: Re: Relying on shell tools to be installed? Where do you find this out?
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 23 Jun 2005 11:09:52 -0400
  • Organization: Rogue Research

On 2005-06-22 18:40, Theodore H. Smith said:

>I'm trying to get ZIP working in a Cocoa app of mine.

And are you planning on using system() to call the 'zip' command line
application?  If so, know that there are risks to doing so... For example:
<http://lists.apple.com/archives/Carbon-dev/2005/Mar/msg00679.html>

Maybe instead there is a library in /usr/lib you can link to instead?

>For example, I'm thinking of using "ditto", which I think looks like

To copy files you are better off using
<http://developer.apple.com/samplecode/FSCopyObject/FSCopyObject.html>
than calling 'ditto'.

>I'm not really looking for an answer on any particular shell tool
>here, more just a general way so I can find out for sure for myself.

Basically, you should do such things as a last resort.  I'm not saying
never do it, just that its not the preferred solution.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Relying on shell tools to be installed? Where do you find this out?
      • From: Douglas Davidson <email@hidden>
References: 
 >Relying on shell tools to be installed? Where do you find this out? (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: NSConnection not working between processes
  • Next by Date: Re: Disturbing Control Problem in Tiger [Solved]
  • Previous by thread: Re: Relying on shell tools to be installed? Where do you find this out?
  • Next by thread: Re: Relying on shell tools to be installed? Where do you find this out?
  • Index(es):
    • Date
    • Thread