• 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: Calling UNIX command from Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling UNIX command from Cocoa


  • Subject: Re: Calling UNIX command from Cocoa
  • From: Aurora Phoenix <email@hidden>
  • Date: Fri, 17 Oct 2008 16:14:59 -0700
  • Thread-topic: Calling UNIX command from Cocoa

Without knowing more specifics, I am struggling to find why one would need a
full-blown class just to invoke a command.  At the simplest, one could use
the system(3) call, or the exec/spawn/fork/popen families depending on what
you need. It is of course, possible to wrap up something fancy like using an
NSDictionary to represent commandline arguments, etc. etc. but that is
usually overkill, no?


On 10/16/08 13:09 , "development2" <email@hidden> wrote:

> Ok., I am sure I have seen one but can't seem to find it. I need an
> Open Source class to call a command line program with a couple of
> arguments. Does any one know of any and where I can find one?
>
> Thanks.
> _______________________________________________
>
> 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:
> com
>
> This email sent to email@hidden


_______________________________________________

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: Calling UNIX command from Cocoa
      • From: "Clark Cox" <email@hidden>
References: 
 >Calling UNIX command from Cocoa (From: development2 <email@hidden>)

  • Prev by Date: Cocoa / OC exception handling
  • Next by Date: Re: Converting from HTML
  • Previous by thread: Re: Calling UNIX command from Cocoa
  • Next by thread: Re: Calling UNIX command from Cocoa
  • Index(es):
    • Date
    • Thread