On Fri, Jan 9, 2009 at 3:58 AM, Aaron Scott <mi...@mac.com> wrote:
> However, once I use launchd to start it as a LaunchDaemon I get no receiving
> of notifications from either the daemon or the GUI app. Is there a way to
> get the notifications to come through or is it near impossible?

Have you read TN2083, "Daemons and Agents"?
http://developer.apple.com/technotes/tn2005/tn2083.html

Looking at the "Supporting Fast User Switching" section of the
"Multiple User Environments" guide, it seems to be implied that
NSDistributedNotificationCenter only works on GUI login sessions.

I'd look into configuring your launchd plist to open up a UNIX domain
socket with which to communicate with other processes.

--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

Reply via email to