LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bash scripting - Don't wait for application exit (https://www.linuxquestions.org/questions/linux-newbie-8/bash-scripting-dont-wait-for-application-exit-764254/)

polarberg 10-24-2009 07:13 PM

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:

Quote:

#!/bin/bash
amixer set Master 0
audacious ~/audio/flac/Microscopic\ Septet/2008\ -\ Lobster\ Leaps\ In/09\ -\ Lt.\ Cassawary.flac
vol=0
until [ $vol = 74 ]
do
amixer set Master $vol
let "vol += 1"
sleep 1
done
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.

MrCode 10-24-2009 07:27 PM

Have a look at this thread. It talks about a similar issue.

polarberg 10-24-2009 07:35 PM

Thank you. Had no idea what to ask. Cheers.


All times are GMT -5. The time now is 02:27 PM.