Fwd: Issue: Hiding terminal on app launch
Fwd: Issue: Hiding terminal on app launch
- Subject: Fwd: Issue: Hiding terminal on app launch
- From: Mayank Agarwal <email@hidden>
- Date: Tue, 05 Jun 2012 15:23:44 +0530
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 my application.
Requirement: When i launch my application the terminal window should not appear.
IS THERE ANY WAY TO ACHIEVE THIS, by shell script or apple script?
---------- Forwarded message ----------
From:
Mayank Agarwal <email@hidden>
Date: Tue, Jun 5, 2012 at 11:47 AM
Subject: Issue: Hiding terminal on app launch
To:
email@hidden,
email@hidden
Hi Everyone,
I am trying to create a installer using Package creator.
For which I am using Shell script and Apple script for pre and post install commands.
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.
So, one thing I did is:
tell application "Finder"
set visible of process "Terminal" to false
end tell
This code is minimizing the terminal to the dock, but I want to hide it completely.
So, is there anyway by which I can completely hide the terminal or do something so
that it should not even launch.
Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden