If anyone is looking for a fast and easy way to use the command line to politely tell an application to quit, please see this hint. However, there is a way to do what you wanted this to do, without typing a full osascript command.
(Ignore) (Report.) (Reopen) The only reason why using killall -QUIT Dock doesn't provoke a crash report is that the Dock is a special and essential application that Mac OS X is set to relaunch immediately-and silently-if it ever crashes. To see more detailed information and send a report to
When used on normal applications, such as TextEdit, iChat, etc., this provokes a crash report from the operating system like this: TextEdit quit unexpectedly.Ĭlick Reopen to open the application. Contrary to expectation, adding the -QUIT parameter to the killall command does the exact opposite of nicely telling the application to quit: instead, it simply crashes the application! Robg adds: I believe a 'friendlier' version of this command is killall -QUIT Dock, which tells the Dock to quit nicely'Īctually, that is completely false, Rob.