pub fn spawn_interactive_timeout(
bin: &str,
args: &[OsString],
timeout: Duration,
) -> Result<ExitStatus>Expand description
Run an interactive command with a timeout (SIGTERM, then SIGKILL).
Unlike run_piped_timeout, this sends SIGTERM first with a 5-second
grace period before SIGKILL, giving well-behaved processes a chance
to clean up.