commit | 29794ecd43efc2c1b33da2c4e5064f0a1a654342 | [log] [tgz] |
---|---|---|
author | Peter Astrand <astrand@lysator.liu.se> | Sat Jan 13 22:37:11 2007 +0000 |
committer | Peter Astrand <astrand@lysator.liu.se> | Sat Jan 13 22:37:11 2007 +0000 |
tree | 04e956136ed7dd63a7efce7c106eeb62e28d5c95 | |
parent | 4347c135ceaa2af4c42853f02c32d9c1e4c442fb [diff] [blame] |
Fix for bug #1634343: allow specifying empty arguments on Windows
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index abd790d..eb1a735 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py
@@ -499,7 +499,7 @@ if result: result.append(' ') - needquote = (" " in arg) or ("\t" in arg) + needquote = (" " in arg) or ("\t" in arg) or arg == "" if needquote: result.append('"')