Execute a command from a cgi script

simo simoninusa2001 at yahoo.co.uk
Mon Jun 7 07:19:13 CEST 2004

I'm not going to say "that will teach you for using Windows/IIS
instead of Linux/Apache" ;o)

Anyway, what errors, if any are you getting?

Are you sure it's not a path issue - like where on your filesystem is
your Python CGI script in comparison with the .bat file? Same

Is perhaps the problem the batch file and not actually the Python
script (maybe the batch file is not returning anything to Python?)

More information about the Python-list mailing list