pub fn command(command: &str, shell: Option<&str>) -> Result<Command>Expand description
Creates a command that is executed by a shell, pretending to be a tty.
This means that the command will assume that terminal colors and other terminal features are available.