Browse Source

fix subprocess on Windows (#391)

pull/392/head
Benjamin Peterson 9 years ago
committed by GitHub
parent
commit
cb90f26122
  1. 2
      Lib/subprocess.py

2
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

Loading…
Cancel
Save