Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-24-2009, 07:13 PM   #1
LQ Newbie
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
Bash scripting - Don't wait for application exit

Sorry, I don't really even know what question to ask here, but basically I need to know how to make Bash not wait around for Audacious to exit to get on with the rest of this script:

amixer set Master 0
audacious ~/audio/flac/Microscopic\ Septet/2008\ -\ Lobster\ Leaps\ In/09\ -\ Lt.\ Cassawary.flac
until [ $vol = 74 ]
amixer set Master $vol
let "vol += 1"
sleep 1
exit 0
Current behaviour is to run Audacious in the terminal and then wait for the application to close before continuing, as is normal with running things in the terminal.
Old 10-24-2009, 07:27 PM   #2
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Have a look at this thread. It talks about a similar issue.
Old 10-24-2009, 07:35 PM   #3
LQ Newbie
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you. Had no idea what to ask. Cheers.



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
C program will not compile - wait and exit scope student04 Programming 7 03-26-2007 10:02 AM
Bash scripting problem with exit codes Jeiku Programming 2 05-15-2006 01:22 AM
Bash: Print usage statement & exit; otherwise continue using Bash shorthand operators stefanlasiewski Programming 9 02-07-2006 05:20 PM
bash-script won't wait for application to finish TLV Linux - Software 24 09-30-2004 11:18 PM
Shell Scripting Exit(s) liguorir Linux - Software 3 04-21-2004 10:59 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 AM.

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