Re: cfexecute or cfx_execute issues

2004-09-15 Thread Steve Dworman
sure am.


name="/usr/bin/perl" 
arguments=" -e '$test=2+2; print $test;'" 
outputvar="outfile2"
showdebug="yes"
lineend=""
reload="Auto"
timeout="60">

#outfile2#

>Silly question, but are you outputting your variable?  Just to double check.
>
>
>On Wed, 15 Sep 2004 12:50:57 -0400, Steve Dworman
><[EMAIL PROTECTED]> wrote:
>
>-- 
>Barney Boisvert
>[EMAIL PROTECTED]
>360.319.6145
>http://www.barneyb.com
>
>Got GMail?  I can help.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfexecute or cfx_execute issues

2004-09-15 Thread Barney Boisvert
Silly question, but are you outputting your variable?  Just to double check.

On Wed, 15 Sep 2004 12:50:57 -0400, Steve Dworman
<[EMAIL PROTECTED]> wrote:
> thanks for the suggestion, but it didn't seem to work.  i just get a blank screen even when i set the timeout to 30.  my cf is all up to date.  any other suggestions?
> 
> 
> 
> >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
> >

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com

Got GMail?  I can help.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfexecute or cfx_execute issues

2004-09-15 Thread Steve Dworman
thanks for the suggestion, but it didn't seem to work.  i just get a blank screen even when i set the timeout to 30.  my cf is all up to date.  any other suggestions?

>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:
>
>-- 
>Barney Boisvert
>[EMAIL PROTECTED]
>360.319.6145
>http://www.barneyb.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfexecute or cfx_execute issues

2004-09-15 Thread Barney Boisvert
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.
> 
> 
> name="/usr/bin/perl"
> arguments="-e '$test=2; print $test;'"
> outputvar="outfile2"
> showdebug="yes"
> lineend=""
> 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]