[issue5870] subprocess.DEVNULL

Antoine Pitrou report at bugs.python.org
Sun Jul 12 14:53:13 CEST 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

Lucas, Windows has a /dev/null-like device. I think Jean's suggestion is
reasonable, but it should be a special constant instead of creating a
file descriptor unconditionnally (that is, the file should only be open
if needed). Also, a patch should be provided (with tests :-)).

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list