Launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty. 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.
|ptyprocess-0.5.1.tar.gz||000006847466.9 KB||1455254641about 2 years ago|
|python3-ptyprocess.changes||0000000522522 Bytes||1462740771almost 2 years ago|
|python3-ptyprocess.spec||00000019551.91 KB||1462740772almost 2 years ago|