summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/subprocess.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index 23e9bd3..76c340c 100644
--- a/Lib/subprocess.py
+++ b/Lib/subprocess.py
@@ -988,7 +988,7 @@ class Popen(object):
int(not close_fds),
creationflags,
env,
- os.fspath(cwd),
+ os.fspath(cwd) if cwd is not None else None,
startupinfo)
finally:
# Child is launched. Close the parent's copy of those pipe