//! Environment isolation for recovery child processes.
use Command;
/// Apply environment isolation to a recovery child [`Command`].
///
/// Default (secure): clears the child env, sets `PATH=/usr/bin:/bin`, then applies
/// `env_vars` entries as an explicit allowlist. When `inherit` is `true`, the
/// observer's full environment is inherited and `env_vars` layer on top.
pub