From: Benjamin Peterson Date: Thu, 2 Mar 2017 08:03:41 +0000 (-0800) Subject: fix subprocess on Windows (#391) X-Git-Tag: v3.7.0a1~1238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb90f261226fc2d4db60a68b53a788e8ae5905cf;p=python fix subprocess on Windows (#391) --- 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