Fixing the NameError on Windows - issue1235

This commit is contained in:
Senthil Kumaran 2009-11-11 17:22:35 +00:00
parent 3a145a18c8
commit 5dff3544f3

View file

@ -271,7 +271,7 @@ class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
nbytes = int(length)
except (TypeError, ValueError):
nbytes = 0
files = subprocess.Popen(cmdline,
p = subprocess.Popen(cmdline,
stdin = subprocess.PIPE,
stdout = subprocess.PIPE,
stderr = subprocess.PIPE