Now let's come to your problem, just curious, have you tried to print your command? Try to print it using the following line.
- Code: Select all
echo exec("echo mvPDF-command=$cmd >> /tmp/mytest.txt");
Then see is it what you are executing on your console. Also try copying the command from log and paste on the console and see what happens.