[issue7111] abort when stderr is closed

Antoine Pitrou report at bugs.python.org
Thu Feb 3 21:18:49 CET 2011


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

> I don't think so. One more important use case is when running a Unix
> daemon, which has (AFAIK) to close all std handles.

I just took a look at http://pypi.python.org/pypi/python-daemon/, and it
uses dup2() to redirect standard streams, which is far nicer.

----------

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


More information about the Python-bugs-list mailing list