Skip to main content

prefix_with_execution_env

Function prefix_with_execution_env 

Source
pub fn prefix_with_execution_env(command: &str, env: &ExecutionEnv) -> String
Expand description

Prefix a shell command with the export statement. Used by the backends whose command runs through a shell that does not inherit our environment: a running tmux server, ssh, and sudo (which resets the environment).