LinuxQuestions.org
Help answer threads with 0 replies.
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 02-18-2005, 05:08 PM   #1
ColKurtz
Member
 
Registered: Jan 2005
Location: Earth
Distribution: Fedora
Posts: 40

Rep: Reputation: 15
Scripting help. How to launch 2+ programs simultaneously.


I'm trying to run a script that contains 3 executables. When I run the script, it launches the first executable but I have to close that 1st executable before the 2nd one launches. Only when I close the 2nd does the 3rd launch, etc.

How can I launch all 3 at once?

Thanks.
 
Old 02-18-2005, 05:58 PM   #2
beaucoup
Member
 
Registered: Jun 2003
Location: Florence, SC
Distribution: Gentoo i386
Posts: 180

Rep: Reputation: 30
Append an ampersand (&) symbol to the end of all the commands; That makes them run in the background. You can also use that trick when you're using the shell by hand. In fact, it's generally a good idea whenever you're going to lauch something that runs in a GUI window instead of in the shell.
 
Old 02-18-2005, 06:14 PM   #3
ColKurtz
Member
 
Registered: Jan 2005
Location: Earth
Distribution: Fedora
Posts: 40

Original Poster
Rep: Reputation: 15
Perfect. Thanks!
 
  


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
auto launch programs at login desmondtm Linux - Newbie 1 12-01-2005 04:51 PM
can't launch programs as root Error1312 SUSE / openSUSE 3 02-10-2005 11:28 AM
programs attempt to launch twice mgmcc Linux - Newbie 13 01-10-2005 09:14 AM
how to launch programs on internet connect? zeedoo Linux - Software 4 07-12-2004 04:08 PM
How to launch new programs ? mdcooper Linux - Newbie 3 03-04-2003 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:08 PM.

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
Open Source Consulting | Domain Registration