pub fn wait_with_limits_captured( child: Child, max_bytes: usize, timeout: Duration, kill_group: bool, ) -> LimitedProcessOutput