Forum OpenACS Development: Re: exec bash command pdftk within TCL page
/tmp/pdf_0.pdf /tmp/pdf_1.pdf not found as file or resource.
Error: Failed to open PDF file:
That is unrelated to exec.
Either its a permissions issue or the files don't exist.
I see the files within /tmp
Plus I set the directory to be 777 by default. Recursively!
-rwxrwxrwx 1 mda web 668409 2011-08-16 13:22 pdf_0.pdf
-rwxrwxrwx 1 mda web 89202 2011-08-16 13:22 pdf_1.pdf
If the list contains just one file the script works fine.
The issue now is:
1) why does it happen?
2) How to pass two or more files to the command line using a TCL variable?