Expand description
Command execution engine for frost.
Takes an AST produced by frost-parser and executes it, managing
processes, pipelines, redirections, and the shell environment.
Platform-specific system calls are isolated in the sys module
so the rest of the engine remains portable across Unix variants.
Re-exports§
Modules§
- env
- Shell environment — variables, functions, aliases, and process state.
- execute
- The main execution engine.
- job
- Job control — tracking background and suspended processes.
- redirect
- Redirection handling — applies I/O redirections via
dup2(2). - sys
- Platform abstraction layer.
Functions§
- execute
- Convenience entry point: create a fresh environment, execute the program, and return the exit status.