More specifically, use "open /path/to/app-name.app/"; in other words, don't 'open' the app's binary executable directly, but tell Finder to execute the default action for an app folder - which is to open the contained app, with various housekeeping along the way. Once you have more than a couple dozen apps installed, you'll find yourself doing it all the time. :-P
Just wanted to be egregiously explicit about it to avoid somebody trying "open /path/to/app-name.app/Contents/MacOS/app-name" - which (usually) won't work. And yes, count me in to the group that say that any non-trivial app should be AppleScriptable. Jeff On 17/12/09 05:29 , "Jerry Krinock" <je...@ieee.org> wrote: > > On 2009 Dec 16, at 10:06, Arun wrote: > >> If i launch Applications from Terminal, using the command >> /Applications/Calculator.app/Contents/MacOS/Calculator >> The application is getting launched. But... > > not very well, as you and others have noted. > > If you want a *supported* way to do this, see man page for /usr/bin/open. It > allows you to pass arguments. > > As noted, this is hacky. AppleScriptability would be > better._______________________________________________ > -- Jeff Dickey http://archlever.blogspot.com/ Email: jdic...@seven-sigma.com Phone/SMS: +65 8333 4403 Skype: jeff_dickey LinkedIn: jdickey Yahoo! IM: jeff_dickey MSN IM: jeff_dic...@hotmail.com (for IM only, please) ICQ: 8053918 QQ: 30302349 GnuPG key: Fingerprint D367 FB97 4E59 BEC0 8EBC D8E3 3BD4 7D4C DFE0 6488 Valid from 01 July 2009 to 31 December 2009 Download from http://tr.im/qqQa _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com