• 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: Issue: Hiding terminal on app launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue: Hiding terminal on app launch


  • Subject: Re: Issue: Hiding terminal on app launch
  • From: Rustam Muginov <email@hidden>
  • Date: Tue, 05 Jun 2012 07:07:38 -0700

Its seems that you only compiled a "binary" but did not created application bundle.
Mac OS X GUI applications are not plain files, they are in fact folders (directories) with special structure.
You can right-click and application supplied with Mac OS X and choose "View package content" contextual menu to view bundle hierarchy.
You can read about bundles more at: 

https://developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html

P.S. And please, do not use "all uppercase" phrases.
--
Sincerely,
Rustam Muginov

On Jun 5, 2012, at 4:41 AM, Mayank Agarwal wrote:

Hi Everyone,

I am facing this issue for long time, so i thought to post it here.

Problem: When I double click and launch my application a terminal window opens 
every time and if I try to close the Terminal my application is also killed.

1. I have developed an application in Flex. Exported it to a .dmg file.
2. After that I used "Package Creator" to make a installer for my application.
3. Now, using this installer I install the application.
4. Icon is created on Desktop. 
5. When i click this Icon to open my application a Terminal window launches,
and then my application.

So, I want to hide this terminal window.
I read somewhere that this terminal window is shown because "Mac binaries are set to be opened with the 'Terminal' program".
And it is like application is executing in that terminal, i.e Terminal is Parent process of application. 

Requirement: When i launch my application the terminal window should not appear.


IS THERE ANY WAY TO ACHIEVE THIS, by shell script, apple script or any other way? 


Thanks.
Mayank Agarwal
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Issue: Hiding terminal on app launch
      • From: Mayank Agarwal <email@hidden>
    • Re: Issue: Hiding terminal on app launch
      • From: Mayank Agarwal <email@hidden>
References: 
 >Issue: Hiding terminal on app launch (From: Mayank Agarwal <email@hidden>)

  • Prev by Date: Issue: Hiding terminal on app launch
  • Next by Date: productsign for flat distribution with x-disc package references (for multi dvd installer)
  • Previous by thread: Issue: Hiding terminal on app launch
  • Next by thread: Re: Issue: Hiding terminal on app launch
  • Index(es):
    • Date
    • Thread