pub fn apply_agent_environment(
command: &mut Command,
environment: &[(OsString, OsString)],
)Expand description
Give a native agent command its adapter environment: remove every
inherited credential, endpoint, and state-location variable any adapter
declares, then set environment (such as the relocated config home).