Skip to main content

start_command_with_env

Function start_command_with_env 

Source
pub async fn start_command_with_env(
    command: &str,
    attached: bool,
    pipe_stdin: bool,
    env: &[(String, String)],
) -> Result<ProcessHandle>
Expand description

Like start_command, with an explicit child environment that replaces the inherited one (issue #60: values stay off the command line).