Antoine Pitrou added the comment: Indeed, this is not related to sys.stdin, but to Popen's own buffering, and the fix is either to pass "bufsize=0" or to flush() when you need to.
I'm closing as invalid, don't hesitate to re-open if I misunderstood something. ---------- nosy: +pitrou resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18868> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com