[GRLUG] Bash Scripting

Jeff DeFouw jeffd at i2k.com
Sat Nov 17 12:32:20 EST 2007


On Sat, Nov 17, 2007 at 12:17:05PM -0500, Benjamin Flanders wrote:
> exec ffmpeg -i ${1} -pass 1 ${cmd} ${2}

You shouldn't be using exec.  exec means replace the shell with the 
command line.  Then there is no more script running (if successful).  
Remove the exec's.

-- 
Jeff DeFouw <jeffd at i2k.com>


More information about the grlug mailing list