run_pty_interactive

Function run_pty_interactive 

Source
pub fn run_pty_interactive(
    program: &Path,
    args: &[&str],
    cwd: &Path,
    home: &Path,
    input: &str,
) -> CmdOutput
Expand description

Runs a command in a PTY with ITO_INTERACTIVE=1.

This is useful for testing that interactive code paths behave as expected under a pseudo-terminal.