Thanks a lot for your replies.
the problem was about the timeout attribute, a newbie fail. If no
timeout is specify you can get no output.


Looking at the web I found the existence of another attiributes
'errorVariable' and 'errorFile' which stores the stderr to the
specified variable or file.
I test the 'errorVariable' and works fine in OBD 1.0 but thats not
documented in any place.


On Dec 10, 8:34 pm, "Hugo Ahlenius" <[email protected]> wrote:
> | Currently I'm using 'cfexecute' and neither the 'variable' attribute
> | works nor the output is displayed on the page. The only attribute that
> | works is the 'outputfile'.
> | Is this normal? Can anybody give me an example of good using of
> | cfexecute?Asantiago,
>
> Below is some test code for you, if you are running on windows - that
> snippet worked for me. This might be a stupid comment, but I found (and
> reported) exactly this problem in Railo - you are sure you are running
> OpenBD, right?
>
> <cfexecute
>         name="c:\windows\system32\cmd.exe"
>         arguments="/c echo this is test number one"
>         timeout="10"
> />
> <hr />
> <cfexecute
>         name="c:\windows\system32\cmd.exe"
>         arguments="/c echo this is test number two"
>         variable="testVar"
>         timeout="10"
> />
> <cfdump var="#testVar#" />
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official blog @ http://blog.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to