mirror of
https://github.com/python/cpython
synced 2024-09-19 14:31:27 +00:00
fix subprocess on Windows (#391)
This commit is contained in:
parent
afbb5d1cbd
commit
cb90f26122
|
@ -988,7 +988,7 @@ def _execute_child(self, args, executable, preexec_fn, close_fds,
|
|||
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…
Reference in a new issue