rightkit_child_process/
lib.rs1mod capture;
4#[cfg(unix)]
5mod exit_watch;
6mod foreign;
7mod health;
8#[cfg(unix)]
9mod identity;
10#[cfg(all(test, unix))]
11mod identity_tests;
12mod no_window;
13mod owned;
14mod process_handle;
15#[cfg(unix)]
16mod process_unix;
17#[cfg(windows)]
18mod process_windows;
19mod restart;
20pub mod reveal;
21#[cfg(windows)]
22mod spawn_windows;
23mod stall;
24mod stderr_tail;
25#[cfg(feature = "tokio")]
26pub mod tokio_support;
27#[cfg(unix)]
28mod unix_child;
29mod usage;
30#[cfg(windows)]
31pub mod windows_job;
32
33pub use capture::{read_bounded, CapturedOutput, OutputCapture};
34pub use foreign::{
35 sweep, sweep_descendants, AdoptedIdentity, AdoptedSignal, IdentityCheck, SignalResult,
36 StartToken, SweepReport,
37};
38pub use health::{HealthOutcome, HealthPolicy, HealthProbe, HealthTracker};
39pub use no_window::{NoWindow, CREATE_NO_WINDOW};
40pub use owned::{
41 AdoptedProcess, JobAssignmentFailure, JobAssignmentMode, OwnedChild, OwnedCommand,
42 ProcessPriority, RawHandleOrFd, ReapOutcome, TerminationOptions, UnixContainment, WaitOutcome,
43 DEFAULT_DROP_REAP_TIMEOUT, DEFAULT_ENV_ALLOWLIST,
44};
45pub use process_handle::ProcessHandle;
46pub use restart::{
47 ConsecutiveFailures, Generation, RestartMode, RestartOutcome, RestartPermit, RestartPolicy,
48 RestartTracker,
49};
50#[cfg(windows)]
51pub use spawn_windows::{with_windows_spawn_lock, WindowsChild, WindowsSpawnConfig, WindowsStdio};
52pub use stall::{Ack, Cooldown, StallConfig, StallEvent, StallWatchdog};
53pub use stderr_tail::StderrTail;
54#[cfg(unix)]
55pub use unix_child::UnixChild;
56pub use usage::{
57 observe_idle, process_usage, BudgetLabels, IdleObservation, ProcessUsage, UsageRates,
58};
59#[cfg(windows)]
60pub use windows_job::{WindowsJob, DEFAULT_ACTIVE_PROCESS_LIMIT};