The situation for non-GUI processes is slightly different: loginwindow first tries to quit the process using a ‘quit’ Apple event; if that fails it terminates the program by sending it a SIGKILL signal. There is no way to catch or ignore this signal.

Advertisements