compio-process
Process management for compio.
This crate provides async process spawning and management capabilities for compio applications. It allows you to spawn child processes, interact with their stdio streams, and wait for completion asynchronously.
Features
- Async process spawning and management
- Async stdio (stdin, stdout, stderr) access
- Cross-platform support (Unix and Windows)
- Integration with compio's completion-based IO model
- Optional Linux pidfd support for efficient process monitoring
Usage
Use compio directly with process feature enabled:
Example:
use Command;
let mut child = new
.arg
.spawn?;
let status = child.wait.await?;
println!;