thanks for all your suggestions yesterday.

it turns out that the first bit of the command was an input, not an argument.

so I ended up doing this:

<cfset arArguments = arrayNew(1) />
<cfset arArguments[1] = "-c" />
<cfset arArguments[2] = "echo '\sum_{n=0}^\infty \frac{x^n}{n!}' |
/opt/css/bin/latex-math2png -D 250" />

<cfexecute
  name = "/bin/sh"
  arguments = "#arArguments#"
  outputFile = "/vhosts/mydomain.com/htdocs/latex/test.png"
timeout="5" />

works a treat!

Thanks again.

Gav

On 3/9/06, Gavin Cooney <[EMAIL PROTECTED]> wrote:
> i put in a time out of 20 seconds and now get this error thrown:
>
> Timeout period expired without completion of /opt/css/bin/latex-math2png
>
> does that give any clues?
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to