FICHA · MANJARO

python-ptyprocess

Run a subprocess in a pseudo terminal

  • Library
  • Dev
  • CLI
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Runs child processes inside a pseudo-terminal from Python. It helps tools test and automate programs that behave differently when connected to a real terminal instead of plain pipes.

Programs run through it can receive input and produce terminal output as if a user were present. Avoid sending secrets to automated sessions unless history, logs, and captured output are controlled.

Permissions

Permissions not analysed for this source yet.