Zope CGI

contactXXX at redspice.com contactXXX at redspice.com
Tue Jun 6 01:57:24 EDT 2000


"Georg Gogo. BERNHARD" wrote:
> 
> Hello!
> Has anybody out there written a python program that can call a
> compiled CGI program? Is it possible to call a CGI program with
> Python/Zope in a way that its i/o gets redirected? Any solutions are
> welcome.
> pancakelizard at gmx.net

Do you want to set up a pipe and fork the cgi executable. you can dup
the stdin and stdout to the pipe descriptors. You can then
read the o/p from the cgi at the input end of your pipe from the python
program.



More information about the Python-list mailing list