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 run;
7mod sidecar;
8
9/// How long a caller waiting on a child goes before it looks at `should_cancel`
10/// again. It bounds how late a cancel can land.
11const POLL_INTERVAL: Duration = Duration::from_millis(25);
12
13pub use child::{ChildProcess, ChildProcessError, WaitOutcome};
14pub use run::{Bounds, Capture, Pipe, RunError, run, run_with_listener};
15pub use sidecar::{Script, Sidecar, SidecarError, validate_interpreter};