Re: Question about SMJobBless
Re: Question about SMJobBless
- Subject: Re: Question about SMJobBless
- From: Kyle Sluder <email@hidden>
- Date: Fri, 30 Sep 2011 10:40:03 -0700
On Sep 30, 2011, at 10:05 AM, Eric Gorr <email@hidden> wrote:
> On Sep 30, 2011, at 1:00 PM, Jean-Daniel Dupas wrote:
>
>> As I understand it, you have to bless the job only once, not at each launch, so you shouldn't have to request the authorization each time.
>
> It would be interesting if that is how it actually works, but I am quite certain it doesn't work that way.
It does. SMJobBless submits a blessed plist to launchd. It does not do one-off jobs. You use once it to install a privileged launchd task that you can talk to in the future.
--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