Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slightly OT: soft link to a java app stub?




Mikael, hello.

On 2008 Aug 29, at 11:25, Mikael Hakman wrote:

Or if you use bash shell in your terminal window, which is the default, you could set up a bash alias like this:

	alias te=/Applications/TextEdit.app/Contents/MacOS/TextEdit

And then use it like this:

te file

The problem is that there isn't any guarantee, as far as I'm aware, that the application inside a .app bundle will respond to any command- line arguments. Opening files from the command-line is what the 'open' command is for -- there's no need to reinvent this functionality.


All the best,

Norman


-- Norman Gray : http://nxg.me.uk Physics and Astronomy, University of Leicester

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Slightly OT: soft link to a java app stub? (From: Robert Koberg <email@hidden>)
 >Re: Slightly OT: soft link to a java app stub? (From: Norman Gray <email@hidden>)
 >Re: Slightly OT: soft link to a java app stub? (From: Mikael Hakman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.