Skip to main content

warm_spawn_until

Function warm_spawn_until 

Source
pub fn warm_spawn_until(
    path: &Path,
    args: &[impl AsRef<OsStr>],
    deadline: Instant,
) -> Result<()>
Expand description

As warm_spawn, waiting until deadline instead of SPAWN_BUDGET.

The child is killed at RUNAWAY_LIMIT after the spawn, or at deadline if that is later.