Skip to content

Instantly share code, notes, and snippets.

@koehn
Created January 4, 2014 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koehn/8257264 to your computer and use it in GitHub Desktop.
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]`
#!/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