Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tirengarfio

macrumors newbie
Original poster
Oct 14, 2005
17
0
Hi to all,

when i drag an icon of an applicationto the terminal to execute it from the terminal it just says whatever.app: is a directory.its for sure im draggin applications.


what happens?
 
Why do you think this will start the application? A .app "file" is really a folder containing the application code and all it's resources. When you drag a folder to the Terminal it put's that folders path in the topmost terminal window. This is the expected behaviour.
 
tirengarfio said:
when i drag an icon of an applicationto the terminal to execute it from the terminal it just says whatever.app: is a directory.its for sure im draggin applications.

To make this work in terminal, you need to use the open command. So, type open -a (followed by a space) and drag in your application bundle, so you have something like open -a /Applications/Stickies.app/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.