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.

Re-exports§

pub use platform_imp::terminal_input;

Modules§

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

Structs§

CaptureCancellation
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.
TracedChild
Root-process control handle whose wait state is owned by the tracer.
WindowsJobHandle

Enums§

StreamMode
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 exec to stop the child before user code runs. No pre-exec SIGSTOP is used: that would deadlock Command::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 source onto 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.