Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   running apps from terminal (http://www.mac-forums.com/forums/os-x-development-darwin/72767-running-apps-terminal.html)

inquisitioner 08-10-2007 11:48 AM

running apps from terminal
 
Hey, what do I have to do to run applications from the terminal? I think the way to do it is using symbolic links, but I'm not sure exactly how to proceed. My understanding is that you do something like (pseudo-code):

ln -s full/path/to/application desiredCallName

(When I tried this with the app TextEdit, I tried typing TextEdit from my home directory but it said it was a folder).

Thanks for the help.

djames42 08-10-2007 03:36 PM

In this case, you'd simply type:

Code:

open /Applications/TextEdit.app

hopelessX 08-21-2007 05:49 PM

It might have treated it as a folder because it kind of is. If you "right click" on any application you'll get "Show Folder Contents" which will open up the different things that make up the program. Djames is right. By adding the .app on it it understands it has to perform what the contents of that folder say and not just open them individually.

thebrza 09-24-2007 03:20 AM

ignore this... it's not really here


All times are GMT -4. The time now is 03:55 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.