If you want the output, i you have to add a timeout value.  Otherwise
CF just runs it and leaves it to do it's thing, immediately returning
to page execution.  Just set it to 10 or something and go.  Make sure
your CF is all patched up though, there was a bug at some point where
CFEXECUTE always took the full timeout, even if it didn't need it for
the called program to finish.

cheers,
barneyb

On Wed, 15 Sep 2004 12:30:50 -0400, Steve Dworman
<[EMAIL PROTECTED]> wrote:
> doesn't matter which one i use for this problem.
>
> i am trying to execute perl inline, however, i can't get back the result (2).  this works if i go right to the unix command line and run it.
>
> <cfx_Execute
> name="/usr/bin/perl"
> arguments="-e '$test=2; print $test;'"
> outputvar="outfile2"
> showdebug="yes"
> lineend="<br>"
> reload="Auto">
>
> if i do something simple like "which perl" then i get a result.
>
> what am i doing wrong?

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to