pub fn populate_env<I>( vars: I, policy: &ShellEnvironmentPolicy, thread_id: Option<&str>, ) -> HashMap<String, String>where I: IntoIterator<Item = (String, String)>,