The command sent to PHP passthru() has single quotes, which Windows hates =) I added a line before passthru which seems to work:
$command = str_replace("'", '"', $command);
The command sent to PHP passthru() has single quotes, which Windows hates =) I added a line before passthru which seems to work:
$command = str_replace("'", '"', $command);
Comments
Comment #1
arthurf commentedIt seems like the better route to go is to escape the whole command, but since this is operating system dependent, using php's escapesheelcmd() http://www.php.net/manual/en/function.escapeshellcmd.php will take care of this nicely for us. Thanks for the bug report, it's important. I've committed this to D5 and D6. Let me know if this fixes it.
Comment #2
arthurf commentedThis is being done by ffmpeg_wrapper now. Closing unless I hear anything else about this
Comment #3
arthurf commented