Skip to main content

command_env

Function command_env 

Source
pub fn command_env<'a>(
    cmd: &'a mut Command,
    key: &str,
    value: &str,
) -> &'a mut Command
Expand description

Set an environment variable on cmd, returning the same cmd for chaining.