Home
The Toolkit for Online Communities
17464 Community Members, 1 member online, 1877 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : exec bash command pdftk within TCL page : One Message

Forum OpenACS Development: Re: exec bash command pdftk within TCL page

Collapse
Posted by Iuri Sampaio on
mda@ubuntu:~$ ls -l /tmp
total 744
-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
Collapse
Posted by Iuri Sampaio on
my guess is TCL parsing treats "/tmp/pdf_0.pdf /tmp/pdf_1.pdf" as an unique file instead of two
Collapse
Posted by Iuri Sampaio on
Okay, I was correct.

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?

Cheers,