[launchd-dev] An agent with Keep-Alive set to true (in this agent's plist)

Jerry Krinock jerry at ieee.org
Fri Jun 10 04:15:50 PDT 2011


On 2011 Jun 10, at 01:54, Nick wrote:

> But what differs an application from a command line application? How launchd realizes it's an application? By presence of an application bundle? Of a plist? Instantiating NSApplication object? Some other ways?

That's an interesting question; I really don't know.  Command-line tools can have embedded plists (and must, for code signing), but there are many differences which launchd could use.  Most likely are the keys CFBundlePackageType=APPL and NSPrincipalClass=NSApplication.



More information about the launchd-dev mailing list