View Single Post
Old 10-01-2015, 11:18 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
The correct way to launch an application is not through the `open` command. That is attempting to launch the passed file using the default file handler.


Apparently, `open -a AppName` will open an (optional) file using AppName, so you could do `open -a calibre`

...

BUT.
The proper way is to call the `calibre` command -- you will find it in
Code:
/Applications/calibre.app/Contents/console.app/Contents/MacOS/

It is suggested to symlink these to /usr/bin/ so they are on your PATH.
Note: My auto-updater also creates those symlinks: https://github.com/eli-schwartz/calibre-installer
eschwartz is offline   Reply With Quote