spawnv and stdout redirect
Christian Maus
maus at netz.klinik.uni-mainz.de
Mon Dec 3 04:45:23 EST 2001
I am trying to write a cgi-script in python which should spawn a new
process and print a message to the user, stating that the process has been
started.
Unfortunately, this script has to runon a windows machine and I have the
problem that my script doesn't terminate because the process keeps writing
to stdout. Is there a way to redirect the stdout of this process to nul ?
Simply adding ">nul", "2>nul" to the spawnv arguments does not work.
Any help is appreciated.
More information about the Python-list
mailing list