I have made a .jar file that joins two wave files together.I call it with the command prompt like so.
java -jar WaveAppender.jar 1.wav 2.wav out.wav
I am trying to use php now to execute this .jar file,but the code below does not seem to work
$theFiles = Array("1.wav","2.wav","output.wav");
exec("java -jar WaveAppender.jar $theFiles");
I do not get any errors but the out.wav is not written.
Am I calling exec() wrong?