CGI output

Sebastien Delafond sdelafond at vertical.net
Fri Nov 16 21:19:24 EST 2001


Hi,

I'm using python to write a CGI interface providing my users with the
ability to run a specific command, a.k.a. "command".

This command takes about 3 to minutes to complete under normal
conditions, and the current Python solution I'm using to run it
prevent users to see its output before it's fully completed. I've
tried calling this command with

commands.getstatusoutput(command)
execv(command,[])

but I still can't manage to do it... How would I call my command so
that the output is displayed "continuously" to my user on the web page
?

Any input welcome,

--Seb



More information about the Python-list mailing list