1

Mac OS X Snow Leopard and Lion. I have a daemon (which runs from root) and launch agent which runs from current user. How can daemon request data (or send command) to launch agent?

1 Answers1

1

If you want to achieve simple IPC between the daemon and agent, refer to my answer here : OS X - Communication between launch daemon and launch agent.

Make sure to set up this socket-based communication on separate threads, so as not to interrupt the flow of your program.

Community
  • 1
  • 1
Sagar Natekar
  • 231
  • 3
  • 11