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: How to pass cmd line arguments to my carbon app?




On Sep 13, 2005, at 8:12 AM, Jay Vaughan wrote:

2) My.app is your wrapper, which is a directory.  You can't launch a
directory.  You have to launch ./My.app/Contents/MacOS/My -psn
01234567 -somearg -somearg2


so what if i want the user to be able to double-click the .app bundle normally in Finder, but with different args?

Mac OS X provides no user interface other than Terminal for users to specify command-line arguments. There's simply no way for a user to provide that info.


-eric

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

This email sent to email@hidden
References: 
 >Re: How to pass cmd line arguments to my carbon app? (From: Jay Vaughan <email@hidden>)
 >Re: How to pass cmd line arguments to my carbon app? (From: Chris Espinosa <email@hidden>)
 >Re: How to pass cmd line arguments to my carbon app? (From: Jay Vaughan <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.