FICHA · AUR

python2-pexpect

Pexpect allows easy control of interactive console applications.

  • terminal automation library
  • LIBRARY
  • CLI
  • Dependency only
official+codex · reviewed · Jun 4, 2026 description in en

Description

Interactive terminal programs can be automated from legacy Python 2 scripts. Pexpect helps tests and admin tools spawn commands, wait for prompts, and send responses through pseudo-terminals.

It can run arbitrary commands and may handle passwords or shell prompts. Avoid logging sensitive interaction transcripts and review commands before automation.

Permissions

Permissions not analysed for this source yet.