aria_primitives/process/mod.rs
1//! Running another program: the process itself, and a protocol over one.
2
3use std::time::Duration;
4
5mod child;
6mod sidecar;
7
8/// How long a caller waiting on a child goes before it looks at `should_cancel`
9/// again. It bounds how late a cancel can land.
10const POLL_INTERVAL: Duration = Duration::from_millis(25);
11
12pub use child::{ChildProcess, ChildProcessError, WaitOutcome};
13pub use sidecar::{Script, Sidecar, SidecarError, validate_interpreter};