mirror of
https://github.com/python/cpython.git
synced 2025-01-24 01:54:02 +08:00
allow path-like objects to be cwd on windows (#389)
#157 added the test, but it's currently (correctly) broken on windows.
This commit is contained in:
parent
0b8432538a
commit
f52279257e
@ -988,7 +988,7 @@ class Popen(object):
|
|||||||
int(not close_fds),
|
int(not close_fds),
|
||||||
creationflags,
|
creationflags,
|
||||||
env,
|
env,
|
||||||
cwd,
|
os.fspath(cwd),
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user