[issue15918] subprocess.Popen reads errpipe_read incorrectly, can result in short read
Vitaly
report at bugs.python.org
Tue Sep 11 20:05:11 CEST 2012
Vitaly added the comment:
The prior 'man 2 read' quote was from Mac OS X;
On amazon (centos) Linux, 'man 2 read' makes the same claim, albeit in different verbiage:
===
It is not an error if this number is smaller than the number of bytes requested; this may happen for example because fewer bytes are actually available right now (maybe because we were close to end-of-file, or because we are reading from a pipe, or from a terminal), or because read() was interrupted by a signal.
===
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15918>
_______________________________________
More information about the Python-bugs-list
mailing list