wok diff python-ptyprocess/description.txt @ rev 25446
ftop: add description.txt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 10:22:54 2022 +0000 (2022-09-06) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-ptyprocess/description.txt Tue Sep 06 10:22:54 2022 +0000 1.3 @@ -0,0 +1,9 @@ 1.4 +Launch a subprocess in a pseudo terminal (pty), and interact with both 1.5 +the process and its pty. 1.6 + 1.7 +Sometimes, piping stdin and stdout is not enough. 1.8 +There might be a password prompt that doesn't read from stdin, output 1.9 +that changes when it's going to a pipe rather than a terminal, 1.10 +or curses-style interfaces that rely on a terminal. 1.11 +If you need to automate these things, running the process in a pseudo 1.12 +terminal (pty) is the answer.