Re: Accessing Python script with ColdFusion

From: Michael Wood (mwood_at_stpo.com)
Date: 12/07/03


Date: Sun, 07 Dec 2003 01:55:02 -0800
To: python-list@python.org

I've tried using a timeout of 1 and 3. It didn't make any difference. I
also just tried setting the outputFile argument to a file in a folder that
I know is accessible to CF. It created an empty file. So no joy there.

Mike

At 07:07 PM 12/6/2003, you wrote:
>On Sat, Dec 06, 2003 at 02:52:59PM -0800, Michael Wood wrote:
> > We're using mailman (python based) to do mailing lists. I'd like to
> write a
> > ColdFusion interface to the command line scripts for managing list
> > membership but there's a problem. I can run the scripts from the Linux
> > command line with no problem. But when I run the scripts via the CFExecute
> > tag in ColdFusion there isn't any output returned. That isn't entirely
> > true, if I use the -h argument the help screen displays okay but any other
> > sort of output never turns up. And it doesn't return an error so it seems
> > as though the script is executing or starts to execute but the output
> > buffer never flushes to the standard output or something like that...
> >
> > I'd really like to make this work. Does anyone have any ideas on how to do
> > so?
> >
>
>Have you made sure you specified a timeout in the CFEXECUTE tag?
>I just recalled a similar situation I encountered:
>
>http://lists.evolt.org/archive/Week-of-Mon-20030120/133253.html
>
>See if that helps any; esp. the use of the CFSAVECONTENT tag.
>
>I feel silly for not remembering this sooner :)
>
>
>
>--
>Jay Dorsey
>jay at jaydorsey dot com
>
>--
>http://mail.python.org/mailman/listinfo/python-list



Relevant Pages

  • Re: tcl/expect freeze
    ... I set the timeout to 70. ... scripts to run in a loop until it froze. ... So it would appear in this case that the spawn telnet line is ... spawn telnet $_router_ip $_port ...
    (comp.lang.tcl)
  • Re: *Solved* Why doesnt this page display anything in IE6?
    ... short tag for, and instead requires that the end tag be ... is for these platforms and if this is your only audience then code for those ... renders but scripts broken in Opera ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: tcl/expect freeze
    ... I set the timeout to 70. ... scripts to run in a loop until it froze. ... So it would appear in this case that the spawn telnet line is ... spawn telnet $_router_ip $_port ...
    (comp.lang.tcl)
  • Re: Why people use this style of javascript declaration?
    ... The reason is historical. ... Netscape 2.x, and it did not support external .js files, only scripts ... Respectively tag was added to HTML specs as the one requiring ... the external .js file executed and inline content ignored. ...
    (comp.lang.javascript)
  • Re: tcl/expect hang
    ... If it does happen due to sleep ... I have seen it happen in a couple of different scripts but the code ... set timeout 3 ... set timeout 120 ...
    (comp.lang.tcl)