Skip to main content

Module process

Module process 

Source
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§

ExecOptions
Options for command execution.
ExecOutput
Result of executing a command.

Enums§

OutputLine
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.