Launching apps in command line (Mac)
In most cases, to launch an application on a Mac is just a matter of using the awesome QuickSilver keyboard shortcut and type in what you want to open. But, sometimes it is useful to be able to launch/open an application in command line or terminal in a scripting context.
So, instead of going through all the typing $ /Application/MyFavouriteApp/Contents/MacOS/MyFavouriteApp in your terminal, you can do:
$ open -a MyFavouriteApp
This will open any applications in your /Applications folder by name.
1 comments:
Thanks!
Post a Comment