I cant execute apps from the terminal draggin them

Discussion in 'Mac Apps and Mac App Store' started by tirengarfio, Oct 16, 2006.

  1. tirengarfio macrumors newbie

    Oct 14, 2005
    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?
  2. robbieduncan Moderator emeritus


    Jul 24, 2002
    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.
  3. iMeowbot macrumors G3


    Aug 30, 2003
    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/

Share This Page