[issue1684] CGIHTTPServer does not chdir prior to executing the CGI script

Fazal Majid report at bugs.python.org
Sun Dec 23 18:03:38 CET 2007


Fazal Majid added the comment:

MT-safety has nothing to do with this. The os.chdir() is invoked from
the new child process that is forked just prior to calling execve() to
run the CGI script, after which it exits. The parent CGIHTTPServer may
be multithreaded, but invoking the CGI script is not a concurrent affair.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1684>
__________________________________


More information about the Python-bugs-list mailing list