[issue1235] CGIHTTPRequestHandler.run_cgi() does not run on Windows if sys.executable contains blanks

Derk Drukker report at bugs.python.org
Sun Oct 25 16:02:47 CET 2009


Derk Drukker <derk.drukker at gmail.com> added the comment:

More elegant than using quotes in the cmdline string is, IMO, passing a
sequence to subprocess.Popen instead.  I've put a new patch up for
review: http://codereview.appspot.com/141050

I've also unified the Unix and Windows portions in run_cgi.  Both now
use subprocess.  (Which on Unix still calls fork and exec, as before.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1235>
_______________________________________


More information about the Python-bugs-list mailing list