CGIHTTPServer.py

alan runyan runyaga at thisbox.com
Thu Jan 4 10:02:28 EST 2001


> > I'm playing around CGIHTTPServer.py and have some problems that I can
seem
> > to fix.  any help would be greatly appreciated.
> >
> > in the Library Reference it shows its availability as Unix only, why not
> > Windows?  it seems to work just fine on Windows.
>
> It uses fork() which AFAIK is not available on Windows.

the if self.have_fork has a an else (for win32)
line 216:
elif self.have_popen2:
            # Windows -- use popen2 to create a subprocess

it seems like it doesnt work on unix (which its suppose to), but it works on
win32 (besides the server closing connection prematurely at the end of
RESPONSE)

~runyaga






More information about the Python-list mailing list