Ross Lagerwall <[email protected]> added the comment: This appears to be a buffering issue with the tr program. Replace with ["cat", "-"] and it works whether the close() is in or not.
To fix this, you need to open up the child process so that it is connected to a tty. man 4 pts if you want to investigate this further. ---------- nosy: +rosslagerwall resolution: -> invalid status: open -> closed _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue14000> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
