I know we can start an application from command line like:
open -a "/Applications/Google Chrome.app"/
How can I quit that application from command line?
osascript -e 'quit app "/Applications/Google Chrome.app"'
As per this page.
Or, as per the comments,
osascript -e 'tell app "/Applications/Google Chrome.app" to quit'
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments