Description
Controls interactive command-line programs from Python by waiting for prompts and sending responses. It is useful for test suites, automation scripts, and tools that need to drive programs that were designed for a terminal.
Automation can send commands or secrets to other processes. Scripts should avoid logging passwords, handle timeouts, and run only against programs and systems the user is allowed to control.