Expand description
Async pipe-based process spawning with unified handle interface.
This module provides helpers for spawning non-interactive processes using regular pipes for stdin/stdout/stderr, with proper process group management for reliable cleanup.
Inspired by codex-rs/utils/pty pipe spawning patterns.
Structs§
- Pipe
Spawn Options - Options for spawning a pipe-based process.
Enums§
- Pipe
Stdin Mode - Stdin mode for pipe-based processes.
Functions§
- spawn_
process - Spawn a process using regular pipes (no PTY), returning handles for stdin, output, and exit.
- spawn_
process_ no_ stdin - Spawn a process using regular pipes, but close stdin immediately.
- spawn_
process_ with_ options - Spawn a process with full options control.