sox

SOX LAME and php fire done signal?

Hi I am using SOX in the following manner with php. $thesong = 67; $theString = "1.wav 2.wav 2.wav 1.wav"; exec("./sox $theString $thesong.wav"); It seems to be be working very good.Then I do the following. exec("./lame $thesong.wav $thesong.mp3"); Again this works fine,but is there any way to tell when both SOX and LAME have complete...