From cb90f261226fc2d4db60a68b53a788e8ae5905cf Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 2 Mar 2017 00:03:41 -0800 Subject: [PATCH] fix subprocess on Windows (#391) --- Lib/subprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 23e9bd328c..76c340c879 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 -- 2.50.1