Expand description
The concrete ExecutionContext โ what actually runs a recipe.
ExecutionMode implementations are written against &mut dyn ExecutionContext and cannot construct a session themselves; until this
existed the only contexts in the workspace were contract doubles, so
nothing could take a recipe and produce a RunResult.
What is wired here is deliberately narrow, and the narrowness is reported
rather than papered over. A recipe whose command.pty is false, or whose
execution is not scripted, is refused with a diagnostic naming the
reason โ running it on a pseudo-terminal anyway would report a verdict
about something the recipe did not ask for.
Structsยง
- Loaded
Recipe - A recipe loaded from disk, in the two shapes the run path needs.
- Runner
- Runs recipes against a session backend.