Re: NSDistributedNotificationCenter and Launchd
Re: NSDistributedNotificationCenter and Launchd
- Subject: Re: NSDistributedNotificationCenter and Launchd
- From: Stephane Sudre <email@hidden>
- Date: Fri, 9 Jan 2009 18:41:28 -0800
On Jan 9, 2009, at 12:58 AM, Aaron Scott wrote:
I have a background process that when started manually talks
correctly with the GUI app using NSDistributedNotificationCenter.
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?
You can send distributed notifications from the daemon to the GUI app
if you use the flag to send the notification to all user sessions.
But it will not work the other way.
_______________________________________________
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