fix subprocess on Windows (#391)

This commit is contained in:
Benjamin Peterson 2017-03-02 00:03:41 -08:00 committed by GitHub
parent afbb5d1cbd
commit cb90f26122
1 changed files with 1 additions and 1 deletions

View File

@ -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