aria-primitives 0.1.0

Process, file, and socket primitives shared by the Aria crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Running another program: the process itself, and a protocol over one.

use std::time::Duration;

mod child;
mod sidecar;

/// How long a caller waiting on a child goes before it looks at `should_cancel`
/// again. It bounds how late a cancel can land.
const POLL_INTERVAL: Duration = Duration::from_millis(25);

pub use child::{ChildProcess, ChildProcessError, WaitOutcome};
pub use sidecar::{Script, Sidecar, SidecarError, validate_interpreter};