Running python from pty without prompt

Samuel Williams space.ship.traveller at gmail.com
Tue Dec 13 07:39:26 EST 2016


Michael, yes.

FYI, I found out why this works. Pressing Ctrl-D flushes the input
buffer. If you do this on an empty line, it causes read(...) to return
0 which Ruby considers end of input for the script, but the pipe is
not closed.



More information about the Python-list mailing list