edd 737758ac23 Import py-ptyprocess.
Tweaks from shadchin@

OK shadchin@, benoit@, rpointel@. Thanks.
2015-11-16 21:06:18 +00:00

6 lines
335 B
Plaintext

Sometimes, piping stdin and stdout is not enough. There might be a
password prompt that doesn't read from stdin, output that changes when
it's going to a pipe rather than a terminal, or curses-style interfaces
that rely on a terminal. If you need to automate these things, running
the process in a pseudo terminal (pty) is the answer.