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

Collapse
Posted by Iuri Sampaio on
Good news! ns_eval solved the problem.

set command "pdftk $files cat output $output_file"

ns_eval exec $command

Collapse
Posted by Iuri Sampaio on
Why is another issue that I will understand now.

Thanks Dave, Thanks Victor

Collapse
Posted by Jeff Rogers on
You should use plain eval, not ns_eval.

ns_eval is used for reinitializing all the tcl interpreters in the server, something you generally don't want to be doing a lot of on a production server.