wok annotate python-ptyprocess/description.txt @ rev 25647
Backout salvador 10% speedup: crashes with large files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 26 12:15:51 2024 +0000 (7 months ago) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@25221 | 1 Launch a subprocess in a pseudo terminal (pty), and interact with both |
Hans-G?nter@25221 | 2 the process and its pty. |
Hans-G?nter@25221 | 3 |
Hans-G?nter@25221 | 4 Sometimes, piping stdin and stdout is not enough. |
Hans-G?nter@25221 | 5 There might be a password prompt that doesn't read from stdin, output |
Hans-G?nter@25221 | 6 that changes when it's going to a pipe rather than a terminal, |
Hans-G?nter@25221 | 7 or curses-style interfaces that rely on a terminal. |
Hans-G?nter@25221 | 8 If you need to automate these things, running the process in a pseudo |
Hans-G?nter@25221 | 9 terminal (pty) is the answer. |