Kaydet (Commit) cb90f261 authored tarafından Benjamin Peterson's avatar Benjamin Peterson Kaydeden (comit) GitHub

fix subprocess on Windows (#391)

üst afbb5d1c
...@@ -988,7 +988,7 @@ class Popen(object): ...@@ -988,7 +988,7 @@ class Popen(object):
int(not close_fds), int(not close_fds),
creationflags, creationflags,
env, env,
os.fspath(cwd), os.fspath(cwd) if cwd is not None else None,
startupinfo) startupinfo)
finally: finally:
# Child is launched. Close the parent's copy of those pipe # Child is launched. Close the parent's copy of those pipe
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment