Re: How to apply arguments to .app application while starting it on Terminal?
Re: How to apply arguments to .app application while starting it on Terminal?
- Subject: Re: How to apply arguments to .app application while starting it on Terminal?
- From: Sherm Pendley <email@hidden>
- Date: Sat, 4 Aug 2007 06:26:39 -0400
On Aug 4, 2007, at 5:33 AM, Kan Cheng wrote:
The basic scenario make me to do this is simple: My application(.app
format) need to be used on terminal by someone know nothing about
bundle
and you know, he can see only the app icon only via Finder, so days
ago,
I've told him that he can start it in that way as you mentioned.
But he just ask me: "Should the user of your application need to know
the internal structure before using it? Since Mac has provided such a
way to wrap application in a bundle, I'm sure that it has provided the
way to start it more directly by applying those arguments needed! "
Well, you know, he is my supervisor, so that I have to find out the
answer to help him use it more conveniently. :)
It's a valid observation - Mac users shouldn't need to know the
internal structure of a .app bundle. But more to the point, they
shouldn't need to use a terminal to start or provide command-line
arguments for your (presumably GUI) app to begin with. Since you've
already asked them to do that, you're already well into "advanced
user" territory anyway. Adding the requirement of "looking under the
hood" of a .app bundle isn't going to make things any worse than they
already are.
The $64,000 dollar question is - why does your app need command-line
arguments to begin with?
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden