Expand description

Main module of rexpect: start new process and interact with it

Re-exports

pub use crate::reader::ReadUntil;

Structs

A repl session: e.g. bash or the python shell: You have a prompt where a user inputs commands and the shell executes it and writes some output
Interact with a process with read/write/signals, etc.

Functions

Start command in background in a pty session (pty fork) and return a struct with writer and buffered reader (for unblocking reads).
Spawn bash in a pty session, run programs and expect output
See spawn
Spawn the python shell
Spawn a REPL from a stream