run_make

Function run_make 

Source
pub fn run_make(kernel_dir: &Path, args: &[&str]) -> Result<()>
Expand description

Run make in a kernel directory under a wall-clock timeout, with the parent’s stdout/stderr inherited.

Used for mrproper and other make calls made outside an active progress group, where raw pass-through is fine. The two capturing siblings — run_make_captured (configure step, replay-on-failure) and run_make_with_output (full build, live stream) — pipe-drain the output instead so it does not clobber a live spinner or bar.

On timeout the child is killed (SIGKILL) and reaped before bailing so no zombie outlives the function; see poll_child_with_timeout for the shared poll+reap mechanics.