• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSDistributedNotificationCenter and Launchd
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSDistributedNotificationCenter and Launchd (From: Aaron Scott <email@hidden>)

  • Prev by Date: Re: A Data Object in Cocoa
  • Next by Date: Re: A Data Object in Cocoa
  • Previous by thread: Re: NSDistributedNotificationCenter and Launchd
  • Next by thread: NSTextView bindings; value path
  • Index(es):
    • Date
    • Thread