On Mon, Jan 25, 2010 at 7:23 PM, Jens Alfke <j...@mooseyard.com> wrote: > The OP wants to allow a button in the UI to start and stop the job. That's > not something you can configure a plist for!
You configure the launchd job's plist to watch for a path and create/remove that file in response to the UI action. This avoids the entire mess of running launchctl with elevated privileges; instead you only have to worry about running your own known code. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com