Re: How to execute the .app from the Terminal window
Re: How to execute the .app from the Terminal window
- Subject: Re: How to execute the .app from the Terminal window
- From: Ryan Britton <email@hidden>
- Date: Wed, 4 Jan 2006 07:00:00 -0800
You can set NSUserDefaults values with the parameters if you put them
in the right format. It's one way of setting stuff for debugging
purposes. See this previous post for that:
http://www.cocoabuilder.com/archive/message/cocoa/2005/10/26/148851
On Jan 4, 2006, at 2:01 AM, Elango C wrote:
Hi everyone,
I would like to call/execute the cocoa application (sample.app) from
the Terminal window (i.e. shell prompt). Can I able to do it?. I
tried the following ways
./sample.app
./sample
but no luck....
then I tried like "exec ./sample.app/Contents/Mac OS/Sample &" now
the application is getting launched.. Is this correct one or Is there
any method of calling application from the teminal window?
I am using Xcode 2.2 for my development. I would like to test/debug my
application with commandline parameters... I dont know where to
specify the command line arguments in the Xcode project settings. Can
any one tell me how to do this...
Thanks,
--Elango
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden