pub fn terminate_gracefully(child: &mut Child, grace_secs: u64)
Terminates a child process gracefully: SIGTERM first, SIGKILL after grace period.