Re: Calling UNIX command from Cocoa
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