[issue19575] subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close

Bernt Røskar Brenna report at bugs.python.org
Thu Nov 14 22:23:01 CET 2013


Bernt Røskar Brenna added the comment:

@neologix: But how do you explain this:

subprocess_devnull        2          9 errors
subprocess_devnull        1          OK

subprocess_devnull creates a file, then starts a subprocess (that redirects to DEVNULL, does not use the file), then tries to remove the directory containing the file. When running in parallel, it fails.

subprocess_noredirect     2          OK
subprocess_noredirect     1          OK

subprocess_noredirect creates a file, then starts a subprocess (that does not use the file), then tries to remove the directory containing the file. When running in parallel, it does not fail.

----------

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


More information about the Python-bugs-list mailing list