use std::{
io,
process::{Command, ExitStatus},
};
/// Run a foreground terminal pass-through & wait without an execution deadline.
///
/// Preserves every caller setting on `command`, including arguments, environment, working
/// directory & stdio. Unconfigured stdio inherits the parent's streams, as for `Command::status`.
/// No process group, session, console-window flag, containment job or capture is installed.
/// In particular, Unix children stay in the caller's foreground process group unless the
/// caller itself configured otherwise. This is an intentionally uncontained terminal operation,
/// distinct from [`crate::OwnedCommand`]; it does not change owned-child defaults.
/// Returns the original standard-library launch/wait result, without runner provenance.
pub fn status_inherited_terminal(command: &mut Command) -> io::Result<ExitStatus> {
command.status()
}