Expand description
Unified process handle types for PTY and pipe backends.
This module provides abstractions for interacting with spawned processes regardless of whether they use a PTY or regular pipes.
Inspired by codex-rs/utils/pty process handle patterns.
Structs§
- Process
Handle - Handle for driving an interactive or non-interactive process.
- PtyHandles
- Optional PTY-specific handles that must be preserved.
- Spawned
Process - Return value from spawn helpers (PTY or pipe).
Traits§
- Child
Terminator - Trait for process termination strategies.
Functions§
- collect_
output_ until_ exit - Collect output from a process until it exits or times out.
Type Aliases§
- Exec
Command Session - Backwards-compatible alias for ProcessHandle.
- Spawned
Pty - Backwards-compatible alias for SpawnedProcess.