This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author schu
Recipients schu
Date 2007-10-04.10:13:01
SpamBayes Score 0.0016364927
Marked as misclassified No
Message-id <1191492781.93.0.606740316101.issue1235@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows a path can contain spaces (e.g. C:\Program Files\python22
\python.exe). If using popenx each component in a command line has 
therefore to be double quoted as well as the whole command string.
The method run_cgi() of the class CGIHTTPRequestHandler in the module 
CGIHTTPServer does not do this.

Therefore the line 236:
cmdline = "%s -u %s" % (interp, cmdline)
should be replaced by
cmdline = '""%s" -u "%s""' % (interp, cmdline)
History
Date User Action Args
2007-10-04 10:13:02schusetspambayes_score: 0.00163649 -> 0.0016364927
recipients: + schu
2007-10-04 10:13:01schusetspambayes_score: 0.00163649 -> 0.00163649
messageid: <1191492781.93.0.606740316101.issue1235@psf.upfronthosting.co.za>
2007-10-04 10:13:01schulinkissue1235 messages
2007-10-04 10:13:01schucreate