Expand description
Process spawning and lifecycle management.
This module exposes explicit Linux/Android process primitives. Callers must provide the exact argument vector and choose the spawn backend. Core does not infer shell/root behavior, select backends from platform properties, or silently switch between backends.
Structs§
- Output
- The result of a process execution.
- Process
- A handle to a spawned process.
- Process
Group - Process group and session configuration.
- Running
Process - A process that is currently running and being monitored.
- Spawn
Options - Configuration options for spawning a new process.
- Spawn
Options Builder - Builder for
SpawnOptions.
Enums§
- Cancel
Policy - Policy for handling process cancellation or timeouts.
- Exit
Status - Represents the termination status of a process.
- Spawn
Backend - Explicit process spawning backend.
- Spawn
FdPolicy - Explicit file-descriptor inheritance policy for spawned children.
Functions§
- spawn
- Spawn a process and block until completion or timeout.
- spawn_
start - Start spawning a process and return a monitor handle.
Type Aliases§
- Spawn
Drain - Specialized drain state for process spawning.