wok-current view python-ptyprocess/description.txt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (7 months ago) |
parents | |
children |
line source
1 Launch a subprocess in a pseudo terminal (pty), and interact with both
2 the process and its pty.
4 Sometimes, piping stdin and stdout is not enough.
5 There might be a password prompt that doesn't read from stdin, output
6 that changes when it's going to a pipe rather than a terminal,
7 or curses-style interfaces that rely on a terminal.
8 If you need to automate these things, running the process in a pseudo
9 terminal (pty) is the answer.