Expand description
Blessed asynchronous process operations.
This crate is intentionally published as an implementation detail. It is
the only production owner of the Tokio process primitives used by the
async process API. Higher layers receive typed operations and never name
tokio::process::Command directly.
Re-exports§
pub use platform_imp::terminal_input;
Modules§
- platform
- Neutral capability indexes for the eventual workspace-wide host boundary.
Structs§
- Capture
Cancellation - Platform
Child - Owned child handle returned by
SpawnSpec::spawn. - Platform
Emergency Signal - Opaque, non-reap-capable emergency termination capability.
- Platform
Lifecycle - Opaque exit-wait capability owned by a process actor.
- Platform
Output - Opaque stdout or stderr reader owned by a process actor.
- Platform
Stdin - Opaque piped stdin capability owned by a process actor.
- Spawn
Spec - Typed spawn description accepted by the blessed process boundary.
- Traced
Child - Root-process control handle whose wait state is owned by the tracer.
- Windows
JobHandle
Enums§
- Stream
Mode - Stdio policy for one child stream.
Functions§
- active_
graphics_ probe - after_
compat_ tokio_ spawn - Complete host-owned setup after a legacy Tokio child has been spawned.
- assign_
child_ to_ windows_ job - cancel_
capture_ reader - canonical_
environment_ pairs - capture_
reader_ done - compat_
shell_ command - configure_
compat_ tokio_ command - Apply host-owned setup for the legacy Tokio-command compatibility surface.
- configure_
exact_ trace - Arrange for a successful
execto stop the child before user code runs. No pre-exec SIGSTOP is used: that would deadlockCommand::spawn’s exec error pipe. - configure_
process_ command - configure_
sync_ contained_ command - configure_
sync_ daemon_ command - configure_
trampoline_ command - current_
executable_ build_ id - Return the GNU build ID of the running executable without reading the executable from disk.
- exact_
trace_ capability - exit_
code - kill_
tree - monitor_
console_ windows - parent_
has_ console - prepare_
capture_ reader - process_
snapshot - process_
snapshot_ for_ pid - set_
process_ name - set_
window_ icon_ impl - Write
sourceonto this process’s terminal window. - shell_
command - shell_
spec - Build a shell command using the host platform’s supported shell.
- soft_
terminate_ process_ group - Request a graceful shutdown for a child-owned POSIX process group.
- spawn_
sync - spawn_
sync_ daemon - start_
descendant_ monitor - start_
exact_ trace - 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 - window_
icon_ support_ impl - Whether this host can take a real icon.