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.
|