command_with_path

Function command_with_path 

Source
pub fn command_with_path<S: AsRef<OsStr> + Debug, P: AsRef<Path>>(
    exe: S,
    path: P,
    args: &[&str],
) -> Command
Expand description

Creates a command without executing it. Arguments are pased to the command and a current dir is set. It’s used to display a command before execution.