Re: SMJobBless - how to start helper tool?
Re: SMJobBless - how to start helper tool?
- Subject: Re: SMJobBless - how to start helper tool?
- From: Kurt Revis <email@hidden>
- Date: Sun, 18 Mar 2012 11:42:16 -0700
On Mar 18, 2012, at 3:20 AM, Gerriet M. Denkmann wrote:
> Messing around with the Apple sample project SMJobBless, I got the SMJobBless() function to work.
> I.e. my helper tool is blessed and gets copied to: /Library/PrivilegedHelperTools/de.mdenkmann.SMJobBlessHelper .
>
> But how to start the helper tool?
> (Nothing shows up in Activity Monitor, nothing is logged).
>
> And once it is running, what is the best way to exchange data with it (small anmounts, not time critical)?
Again, that's mentioned in the readme:
> This sample as it stands does not actually run the helper tool. The following samples show how to a launchd job and
> set up interprocess communication:
> o ssd
> o BetterAuthorizationSample
"ssd" has apparently gone missing, but BetterAuthorizationSample is still around. A few google searches should help you find them.
Also: http://stackoverflow.com/questions/9134841/writing-a-privileged-helper-tool-with-smjobbless
On Mar 18, 2012, at 11:15 AM, Jerry Krinock wrote:
> Wrong email list for SMJobBless. Use email@hidden.
Or launchd-dev:
http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev
SMJobBless isn't strictly part of launchd, but the topic has come up several times on that list, and nobody has complained.
_______________________________________________
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