[issue9929] subprocess.Popen unbuffered not work (windows)

Hirokazu Yamamoto report at bugs.python.org
Thu Sep 23 20:23:22 CEST 2010


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

Interestingly, following code also hangs. Maybe I'm
misunderstanding the meaning of *bufsize*....

from subprocess import *
import sys

p = Popen([sys.executable, "-c", "import sys; print(sys.stdin.read(1))"], stdin=PIPE)
p.stdin.write(b'xx') # size 2
p.wait()

----------

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


More information about the Python-bugs-list mailing list