13 Jun
2011
13 Jun
'11
9:10 p.m.
On 10 Jun 2011, at 01:54, Nick wrote:
But what differs an application from a command line application? How launchd realizes it's an application?
It's not launchd that realises that it's an app, it's loginwindow. When you attempt to log out (which the initial step in restart and shutdown), loginwindow asks each of the app's to quit cleanly. If an app can't quit, loginwindow prevents the log out. You need to get your app out of that path, and the best way to do that is to prevent loginwindow from seeing your agent as a GUI app. S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware