[issue4192] Subprocess error with I/O redirection to Pipes
Hirokazu Yamamoto
report at bugs.python.org
Wed Mar 4 21:19:26 CET 2009
Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:
This happens because when flooder.py terminates, its stdout will be
closed, but another pipe end in receirver.py process is already closed, so
Python\sysmodule.c(1098): _check_and_flush (FILE *stream)
In this function, fflush() fails. The reason why error message is not
helpful is probably this close function is called in interpreter
termination process, other modules/objects to do so are already destroyed.
Maybe this error message can be improved in some way, but I'm not sure.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4192>
_______________________________________
More information about the Python-bugs-list
mailing list