Skip to main content

Crate running_process_platform_internal

Crate running_process_platform_internal 

Source
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.

Modules§

platform
Neutral capability indexes for the eventual workspace-wide host boundary.

Structs§

PlatformChild
Owned child handle returned by SpawnSpec::spawn.
PlatformEmergencySignal
Opaque, non-reap-capable emergency termination capability.
PlatformLifecycle
Opaque exit-wait capability owned by a process actor.
PlatformOutput
Opaque stdout or stderr reader owned by a process actor.
PlatformStdin
Opaque piped stdin capability owned by a process actor.
SpawnSpec
Typed spawn description accepted by the blessed process boundary.

Enums§

StreamMode
Stdio policy for one child stream.

Functions§

after_compat_tokio_spawn
Complete host-owned setup after a legacy Tokio child has been spawned.
configure_compat_tokio_command
Apply host-owned setup for the legacy Tokio-command compatibility surface.
shell_spec
Build a shell command using the host platform’s supported shell.