pub async fn stop_orphan(
identity: ProcessIdentity,
grace: Duration,
waits: OrphanWaits,
) -> Result<Orphan>Expand description
Stops the process group identity names, if its leader still runs: SIGTERM, and SIGKILL
if the group hasn’t ended after grace, then waits for it to go (at most 5 s).
§Errors
An I/O error from signalling the group.