bash_command

Function bash_command 

Source
pub fn bash_command(command: &str) -> Result<Command>
Expand description

Creates a command that is executed by bash, pretending to be a tty.

This means that the command will assume that terminal colors and other terminal features are available.