LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2011, 12:00 PM   #1
tank junior
Member
 
Registered: Apr 2010
Posts: 42

Rep: Reputation: 0
hide terminal window whn running script


Hi,

This is my first post and I am new on Mac OSX. I have create an app using python/py2app. App is working fine but I need little modification.
1. My app name is test.app. Inside I have Contents/MacOS/test(executable)
2. I rename test(executable) as launch.
3. I create a simple bash script with name test(set executable permission)
in Contents/MacOS directory inside app.
4. This script set same environment vars and finally execute launch executable.
5. This works but problem is that a terminal window comes up when launching app.

Is it possible to run the script(test) in such a way that it should not show terminal window?

Prashant
 
Old 03-14-2011, 01:24 PM   #2
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by tank junior View Post
This is my first post...
Um, no, it's not...

Quote:
Originally Posted by tank junior View Post
... and I am new on Mac OSX.
...and Mac OS X is not Linux.

Did you mean to post this somewhere else?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about running a program from terminal window ganoo Linux - Newbie 7 11-01-2010 01:44 PM
[SOLVED] How to make a bash script keep running in same terminal after it calls second script? JohnRock Linux - Newbie 4 06-25-2010 10:16 AM
Script terminated in terminal window 786 Linux - General 4 11-22-2008 06:57 PM
How do i run a script upon bootup, but in a terminal window xmrkite Linux - Software 6 09-29-2008 04:59 PM
which function can hide a terminal window? gepo Programming 3 08-12-2005 06:15 AM


All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration