[New-bugs-announce] [issue18161] call fchdir if subprocess.Popen(cwd=integer|fileobject)

Марк Коренберг report at bugs.python.org
Fri Jun 7 21:40:42 CEST 2013


New submission from Марк Коренберг:

Today, subprocess allow to change directory only by using its name. What if I have only file descriptor referring to that dir?

It will be nice if such feture will be implemented. Now, I use preexc_fn to call os.fchdir() by hand.

We should handle close_fds *AFTER* calling fchdir() :)

----------
components: Library (Lib)
messages: 190770
nosy: mmarkk
priority: normal
severity: normal
status: open
title: call fchdir if subprocess.Popen(cwd=integer|fileobject)
type: enhancement
versions: Python 3.3, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18161>
_______________________________________


More information about the New-bugs-announce mailing list