Quit
Quit
1.9.2

4.7

Quit free download for Mac

Quit1.9.2

22 September 2015

Bash script to politely quit applications using Terminal.

Overview

Quit is an executable bash script to make it quick and easy to politely quit applications from the command line.

This script takes one or more application names as arguments, and uses osascript to tell each one to quit. Unlike kill and killall, this allows applications to save files and perform any necessary operations before exiting.

What's new in Quit

Version 1.9.2:
  • Fixes a bug introduced in 1.9.1 where 'quit all' would only quit one app and then generate error messages for the rest
  • Better bulletproofing on some unfortunately necessary GUI scripting for users and/or apps that don't use OS X's built-in autosave
  • Better handling of apps with quirky implementations of the quit command in their AppleScript libraries (ahem, iTunes)

Join over 500,000 subscribers.

Subscribe for our newsletter with best Mac offers from MacUpdate.

How would you rate Quit app?

9 Reviews of Quit

5
Jichi
22 July 2009
Version: 1.0

Most helpful

It works very well! I use kill before which is much less convenient. Thanks to the author! And wish more functions would be added in the future. BTW, I found this app by accidence. why not add this good stuff to MacPorts? Hence more people will know and use it and make it better and better.
(1)
4
gngramkishore
18 April 2017
Version: 1.9.2
That was a brilliant utility thanks to the developers. Just to get more of it, I would like to have following fixed for closing office files when there is a save as window shown and also a dialog displayed. FYI... The above were part of my OSX automation requirements. (: Thanks a lot.
(0)
5
Bottacco
09 October 2013
Version: 1.8
This is a great CLI utility. It should be included in Darwin by default. Thank you to the developers for something useful and free. Cheers from Spain,
(1)
4
Kankei71
17 July 2011
Version: 1.6
Like it :) What about 'quit all'?
(1)
Show comment (1)
5
Jerry-Krinock
26 March 2011
Version: 1.3
Thank you, Jon. Apple should have included this in Mac OS X. The 'open' command has been in since NeXTSTEP. Why not 'quit'? Anyhow, I added an option '-f' which says to *not* print an error message if the requested app is not running. Following is the 'diff' output which shows the difference between Jon's original and mine. Users can add this option to the script using the 'patch' command on their Mac. Basic tutorial: http://www.linuxtutorialblog.com/post/introduction-using-diff-and-patch-tutorial Intermediate tutorial: http://www.linuxtutorialblog.com/post/introduction-using-diff-and-patch-tutorial Here's the patch text, created by diff. I hope that MacUpdate's system doesn't munge it up. 22a23,25 > # > # This is Jon's version 1.3, with the -f option added by > # Jerry Krinock, 20110325 27c30 < echo "Usage: `basename "$0"` [-a] [-p] [-s|n] " --- > echo "Usage: `basename "$0"` [-a] [-p] [-s|n] [-f] " 44a48 > echo " -f Do not print an error message if app is not running" 166c170,171 < while getopts "apns" opt --- > ignoreNotRunning="false" > while getopts "apnsf" opt 172a178 > f) ignoreNotRunning="true" ;; 206c212,215 < echo "No running application matches \"$arg\"" --- > if [[ $ignoreNotRunning == "false" ]] > then > echo "No running application matches \"$arg\"" > fi
(0)
Borlox
06 February 2010
Version: 1.2
The script allows you to quit a GUI application remotely while optionally saving unsaved changes in open documents. While this sounds like a good idea, it should be used with caution. Over an SSH connection, you have no way of knowing the state of the document you're saving. Maybe, since you left the computer, your cat or your three-year-old has filled the document buffer with gibberish, which you're now going to save in place of the original. A better plan would be never to leave open documents unsaved when getting up from the computer. Then you won't need this script. If you must quit an application remotely and you think it has unsaved changes, use Screen Sharing to view the document before saving it.
(0)
Show comment (1)
5
Ayub
31 August 2009
Version: 1.1
Handy application for unix scripters.
(1)
pandora-1
31 August 2009
Version: 1.1
From the description: "Bash script to politely quit applications using Terminal." How do we find out which applications are currently using Terminal? And how do we know when an application uses Terminal? I'd like to know that before having a script quit any application that uses Terminal.
(0)
Show comment (1)
5
Jichi
22 July 2009
Version: 1.0
It works very well! I use kill before which is much less convenient. Thanks to the author! And wish more functions would be added in the future. BTW, I found this app by accidence. why not add this good stuff to MacPorts? Hence more people will know and use it and make it better and better.
(1)
Show comments (2)
Blacksmith-tb
14 July 2009
Version: 1.0
This is good in theory, but in practice, Quit refuses to quit anything I've tried (on 10.4.11). Neither the -a or -p flags seems to have any effect - I consistently get: 43:166: execution error: System Events got an error: Can't make every application process whose name = "Adium" or short name = "Adium" or title = "Adium" or displayed name = "Adium" into type reference. (-1700) No running application matches "Adium"
(0)
Show comment (1)
Free

4.7

App requirements: 
  • Intel 64
  • Intel 32
  • PPC 64
  • Mac OS X 10.5.0 or later

Downloaded & Installed 30,660 times

Similar apps
QuitsApps
QuitsApps
Selectively quit applications, menubar version now available.
Is this app is similar to QuitsApps? Vote to improve the quality of this list.
Vote results
0
Upvotes
3
Total score
0
Downvotes