Re: Launch process as root from cocoa app
Re: Launch process as root from cocoa app
- Subject: Re: Launch process as root from cocoa app
- From: Kyle Sluder <email@hidden>
- Date: Mon, 25 Jan 2010 18:53:26 -0800
On Sun, Jan 24, 2010 at 11:57 PM, Nyxem <email@hidden> wrote:
> I'm currently working on a Preference Pane with an SFAuthorizationView, my problem is simple, when I click on a switch button I need to start / stop a daemon as user using launchctl.
Do not do use launchctl for this. Launchd has plenty of ways of
determining when to start and stop jobs. You should configure your
job's plist accordingly.
--Kyle Sluder
_______________________________________________
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