pub(crate) fn append_environment_variables( command: &mut Command, environment: &BTreeMap<String, Option<String>>, )