Antoine Pitrou added the comment:
Nothing to do with str/bytes, actually; I think it was fixed in #11459
(changeset 7451da272111), so you might want to upgrade your Python 3.2 (or use
the flush() workaround).
--
resolution: -> out of date
stage: -> committed/rejected
status: open ->
ganges master added the comment:
hmm, it does work when i call flush, but it works perfectly fine without
flushing on python2.x... i guess this has to do with str/bytes again. maybe
this should be documented somewhere? thanks for the tip though.
--
___
Antoine Pitrou added the comment:
Works with 3.2.2:
Python 3.2.2+ (3.2:9ef20fbd340f, Oct 15 2011, 21:22:07)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from subprocess import Popen, PIPE
>>> p=Popen(["/bin/sh"], stdin=PIPE, stderr=PIPE, stdo
New submission from ganges master :
Attempting to read from stdout of a running process seems broken on Python3.2.
I've been able to reproduce this on Ubuntu 11.4 and Windows 7 (with /bin/sh
installed as part of git for windows)
Python 3.2 (r32:88445, Dec 8 2011, 15:26:51)
[GCC 4.5.2] on lin