pub fn create_env( policy: &ShellEnvironmentPolicy, thread_id: Option<&str>, ) -> HashMap<String, String>
Construct a shell environment from the supplied process environment and shell-environment policy.