Created
January 4, 2014 16:48
-
-
Save koehn/8257264 to your computer and use it in GitHub Desktop.
A simple command-line utility to use AppleScript (neé OSAScript) to quit an application. Usage:
`quit [Application Name]`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
osascript -e "tell application \"$1\" to quit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment