commit | df6f3f6f5743a061d6c3b939136a11ac170ae69e | [log] [tgz] |
---|---|---|
author | Zachary Ware <zachary.ware@gmail.com> | Sat Mar 11 17:16:34 2017 -0600 |
committer | GitHub <noreply@github.com> | Sat Mar 11 17:16:34 2017 -0600 |
tree | 3dbbb28676dc1cf3f34699eb97a3b0b3de3bbca5 | |
parent | b3536df9f8b041142f5e3bf6037c11be06eb7f59 [diff] [blame] |
fix subprocess on Windows (GH-391 backport) (GH-623)
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 822ddb4..0db6571 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py
@@ -986,7 +986,7 @@ int(not close_fds), creationflags, env, - cwd, + os.fspath(cwd) if cwd is not None else None, startupinfo) finally: # Child is launched. Close the parent's copy of those pipe