Function |environment
process/environment::|environment
Usage
|environment(variables, working_directory, expand_variables, clear_env)
Parameters
↳ variables: StringMap (std/data/string_map::StringMap)
↳ working_directory: Option<string>
↳ expand_variables: bool
↳ clear_env: bool
Return
↴ Environment
Build an Environment value from explicit parameters.
variables: key–value pairs to expose to the subprocess.working_directory: optional working directory.expand_variables: expand${VAR}references in variable values.clear_env: inherit no variables from the parent process.