Re: to NSTask or not to NSTask
Re: to NSTask or not to NSTask
- Subject: Re: to NSTask or not to NSTask
- From: <email@hidden>
- Date: Mon, 2 May 2005 11:17:23 +0000
As long as you don't have to do any kind of file redirection, and you know how to handle the output (if there is any), you can set /bin/sh as your launch path. "-c" will be your first argument in your array, the actual tool would be the second argument, and the rest of the arguments would be whatever arguments you send to the tool. Should be pretty straightforward, and I'm not aware of any other way of launching a command line tool in Cocoa except for NSTask. I could be wrong, tho.
James
_______________________________________________
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