More info on NSDistributedNotification.
More info on NSDistributedNotification.
- Subject: More info on NSDistributedNotification.
- From: Charles Bennett <email@hidden>
- Date: Fri, 15 Jun 2001 13:03:02 -0400
Sorry about following up myown post.
Just to toss a little more info in the pot.
if I open up a terminal and execute /usr/sbin/mydaemon restart
(code like apachectl) then the Notifications start happening.
If I do system("/usr/sbin/mydaemon restart")
or even (system("/usr/bin/sudo /usr/sbin/mydaemon restart") from within the client
(client running as root) I see the daemon restart, but no notifications
start happening.
So what would be the difference between invoking the script via a terminal
vs. doing it in a system call?
This reeks of a UID or EUID missmatch of some sort, but I can't figure out
where to look for the problem or why it would only effect NSNotifications.
thanks
chuck