• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to execute the .app from the Terminal window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to execute the .app from the Terminal window


  • Subject: Re: How to execute the .app from the Terminal window
  • From: Janakiram <email@hidden>
  • Date: Wed, 4 Jan 2006 16:52:37 +0530

Hi,
Consider You want to execute Sample.app , follow the Steps to Launch it from the Terminal


	1) Goto the Sample.app Folder
	1) In that go to the /Contents/MacOS
	2) Finally execute the command  "./Sample"

	I think may solve your problem. Let me know if you have any problem.

-JanakiRam.

On 04-Jan-06, at 3:31 PM, 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:
40effigent.net


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
References: 
 >How to execute the .app from the Terminal window (From: Elango C <email@hidden>)

  • Prev by Date: Re: insertText
  • Next by Date: Re: insertText
  • Previous by thread: Re: How to execute the .app from the Terminal window
  • Next by thread: Re: How to execute the .app from the Terminal window
  • Index(es):
    • Date
    • Thread