which_shell

Function exec

Source
pub fn exec<I, S>(cmd: S, args: I) -> Option<String>
where I: IntoIterator<Item = S>, S: AsRef<OsStr>,