• 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: Launch process as root from cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Launch process as root from cocoa app
      • From: Jens Alfke <email@hidden>
References: 
 >Launch process as root from cocoa app (From: Nyxem <email@hidden>)

  • Prev by Date: Launch process as root from cocoa app
  • Next by Date: NSPredicateEditorRowTemplate and CoreData
  • Previous by thread: Launch process as root from cocoa app
  • Next by thread: Re: Launch process as root from cocoa app
  • Index(es):
    • Date
    • Thread