Expand description
Alba’s embedded shell: a deterministic, cross-platform, POSIX-like interpreter for beam commands. Standalone by design: this crate depends on no other Alba crate.
Structs§
- Program
- A sequence of and/or lists, one per
;or newline separated item. - Shell
Env - Everything a run needs: the complete process environment, the starting working directory, a sink for output lines, and a cooperative cancellation signal.
- Shell
Output Line - One line of output from a builtin or an external command.
- Shell
Parse Error - Shell
Result - The outcome of a run: the exit code of the program’s last executed
command, or the code an
exitbuiltin stopped it with. - Span
- A byte range into the command source string.
Enums§
- Shell
Stream - Which stream an output line came from.