[launchd-dev] Creating a Launch Agent (per user) on demand when client app is open

Per Olofsson per.olofsson at gu.se
Fri Jan 16 00:11:37 PST 2015


15 jan 2015 kl. 17:59 skrev Piotr Panasewicz <piotr.panasewicz at mac.com>:
> 
> Is it possible to do that without XPC?

Yes, you can have the agent listen on a localhost or unix domain socket:

https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html#//apple_ref/doc/uid/10000172i-SW7-SW4

https://developer.apple.com/library/mac/samplecode/SampleD/Introduction/Intro.html#//apple_ref/doc/uid/DTS10003653

-- 
Per Olofsson, IT-service, University of Gothenburg



More information about the launchd-dev mailing list