pub(super) async fn run<Args>(
program: &str,
args: Args,
limit: u64,
deadline: Instant,
) -> Result<Vec<u8>>Expand description
Collect the frame the program writes to standard output, refusing one past the limit rather than decoding a truncation. The program runs in its own process group, so a wrapper overrunning the deadline cannot orphan the work it spawned.