Expand description
Async command execution primitives.
Stateless — no persistent cwd or env. Each call is independent. Shell state persistence (for coding agents) is a higher-level concern.
Structs§
- Exec
Options - Options for command execution.
- Exec
Output - Result of executing a command.
Enums§
- Output
Line - A line of output from a streaming command.
- Shell
- Which shell to use for command execution.
Functions§
- exec
- Execute a command through a shell. Returns when the command completes or times out.
- exec_
streaming - Execute a command and stream output lines through a channel.