execute

Function execute 

Source
pub async fn execute(
    command: PathBuf,
    args: Vec<String>,
    chdir: Option<PathBuf>,
    envs: HashMap<String, String>,
    progress: Option<(String, Sender<Message>, u64)>,
    shutdown_rx: &mut Receiver<Message>,
) -> Result<()>