Run a command in bash, pretending to be a tty.
This means that the command will assume that terminal colors and other terminal features are available.
let output = fake_tty::bash_command("ls").output().unwrap(); assert!(output.status.success()); let _stdout: String = fake_tty::get_stdout(output.stdout).unwrap();
Creates a command that is executed by bash, pretending to be a tty.
Returns the standard output of the command.
Wraps the command in the