pub fn new(restricted: bool) -> Self {
        Self { restricted, is_env_loaded: Default::default() }
    }
Creates a new EnvironmentFactory with current working directory

# Arguments
* `unrestricted` - If true, use unrestricted shell mode (sh/bash) If
false, use restricted shell mode (rbash)
crates/forge_infra/src/env.rs