Yann Droneaud added the comment:
I looked at posixmodule: os.chdir() accepts a file descriptor.
Maybe it can be possible to invoke it from _posixsubprocess.c instead of
calling chdir().
--
___
Python tracker
<https://bugs.python.org/issue47
New submission from Yann Droneaud :
subprocess.run() and subprocess.Popen() accepts a cwd= parameter to change
directory before running the subprocess.
Unfortunately it's not possible to use a file descriptor to run the subprocess
in a directory already opened.
For example:
import os
Change by Yann Droneaud :
--
nosy: +ydroneaud
___
Python tracker
<https://bugs.python.org/issue46077>
___
___
Python-bugs-list mailing list
Unsubscribe: