It's just magic, and I hate it ...

Lars Marius Garshol larsga at
Mon Jun 21 22:21:47 CEST 1999

* Mitchell Morris
| When run from the browser, however, the redirect doesn't happen
| until the child finishes. To recap, this is exactly the situation I
| need to avoid.

Try doing a sys.stdout.close() at the point where you want the
redirect to happen.

--Lars M.

More information about the Python-list mailing list