Module pty

Module pty 

Source
Expand description

PTY helpers for driving interactive commands in tests. PTY-based command runners for interactive integration tests.

Functionsยง

run_pty
Runs a command in a PTY and captures output.
run_pty_interactive
Runs a command in a PTY with ITO_INTERACTIVE=1.
run_pty_interactive_with_env
Runs a command in a PTY with ITO_INTERACTIVE=1 and extra environment variables.