fn watch(
child: &mut Child,
group: &Group,
termination: &Termination,
last_output: &AtomicU64,
started: Instant,
stall: Duration,
database_url: Option<&str>,
) -> Result<Verdict>Expand description
Polls the child until it exits, is told to stop, or goes quiet; on a stall the diagnostics are gathered here, with the group frozen but alive.