Hirokazu Yamamoto <ocean-c...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9929>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to