Expand description
Process spawning, containment, inspection, termination, and stdio.
Re-exports§
pub use crate::PlatformChild;pub use crate::PlatformEmergencySignal;pub use crate::PlatformLifecycle;pub use crate::PlatformOutput;pub use crate::PlatformStdin;pub use crate::SpawnSpec;pub use crate::StreamMode;
Structs§
- Capture
Cancellation - Console
Window Info - Metadata about one visible window observed by console-popup monitoring.
- Daemon
Child - Handle for a detached child that is not terminated when dropped.
- Daemon
Stdio - Caller-supplied output bindings for a detached synchronous child.
- Observer
Backend - Process
Snapshot - A platform-owned identity record used when observing a process tree. The timestamp fields are opaque host-native creation-time components and must only be compared for equality.
- Spawn
Stdio - Caller-supplied stdio bindings for a contained synchronous child.
- Spawned
Child - Handle and optional parent pipe ends for a contained child.
Enums§
- Capture
Stream - Identifies one captured child output stream.
- Daemon
Stdio Source - Output destination accepted by the detached-child path.
- Observer
Category - Observer
Scope - Observer
Support - Stdio
Source - Standard-stream source or destination for a contained child.
- Sync
Environment - Environment base selected by the shared caller for a synchronous spawn.
- Unix
Signal Kind - Platform-neutral Unix signal selectors used by the compatibility facade.
Functions§
- cancel_
capture_ reader - canonical_
environment_ pairs - capture_
reader_ done - compat_
shell_ command - configure_
native_ command - configure_
sync_ contained_ command - configure_
sync_ daemon_ command - configure_
trampoline_ command - enable_
descendant_ subreaper - Enable Linux’s process-wide orphan reparenting for launched-tree observation. Failure is intentionally best-effort: the observer can still track descendants whose immediate parents remain alive.
- exit_
code - kill_
tree - monitor_
console_ windows - observer_
backend - parent_
has_ console - prepare_
capture_ reader - process_
snapshot - process_
snapshot_ for_ pid - read_
process_ cmdline - read_
process_ file_ handles - set_
process_ name - shell_
command - soft_
terminate_ process_ group - Request a graceful shutdown for a child-owned POSIX process group.
- spawn_
sync - spawn_
sync_ daemon - sync_
child_ native_ handle - trampoline_
exit_ code - unix_
mark_ ⚠extra_ fds_ close_ on_ exec - Mark inherited descriptors close-on-exec without breaking std’s exec-error pipe.
- unix_
set_ priority - unix_
signal_ process - unix_
signal_ process_ group - unix_
signal_ raw