I represent a CGI script.
My implementation is complex due to the fact that it requires asynchronous
IPC with an external process with an unpleasant protocol.
Methods
|
|
__init__
render
runProcess
|
|
__init__
|
__init__ ( self, filename )
Initialize, with the name of a CGI script file.
|
|
render
|
render ( self, request )
Do various things to conform to the CGI specification.
I will set up the usual slew of environment variables, then spin off a
process.
|
|
runProcess
|
runProcess (
self,
env,
request,
)
Callback that actually creates a process.
|
|