[Zope] Couple of 2.0b1 observations on win98

Rob Page rob.page@digicool.com
Sun, 1 Aug 1999 14:32:15 -0400


> I assume there is no earthly way to get zope to run external 
> cgi-scripts or 
> executables (with Zserver that is; for the moment I am using 
> zserver) unless 
> the script is in python.

Depends what the meaning of the words "in Python" is...  :^)

You could write an External Method in Python:

import os
some_script_output = os.popen("some_script.pl",'r').readlines()

some_script_output is then a list of lines of output.  In this example
some_script.pl is in perl.

If you weren't interested in the output (i.e., you just wanted to run
something), you could (I think) use:

import os
os.system("some_script.pl")

--Rob