Re: Running Shell Script from Cocoa Application
Re: Running Shell Script from Cocoa Application
- Subject: Re: Running Shell Script from Cocoa Application
- From: Dave Hersey <email@hidden>
- Date: Sat, 6 Oct 2007 17:08:46 -0400
system() blocks and NSTask can run async for one thing. If the goal
is to be running a script as super user, you shouldn't be using
either NSTask or system(). The correct approach is to use a helper
tool and authservices, as someone alluded to.
- d
On Oct 6, 2007, at 5:01 PM, Daniel Dalquen wrote:
On Oct 6, 2007, at 10:21 PM, Sam DeVore wrote:
Probably looking for NSTask
Is there a reason (not) to use the C function system(3)? What's the
difference to NSTask (other than that it is an object)?
Daniel
_______________________________________________
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