Expand description
Local subprocess-backed model runners for SIM.
Structs§
- Process
Command Spec - Describes a subprocess command invocation and its resource bounds.
- Process
Runner - Local subprocess-backed
ModelRunner.
Enums§
- Process
Protocol - Wire protocol a
ProcessRunnerspeaks with its subprocess.
Statics§
- RECIPES
- Cookbook recipes for this lib, embedded at build time.
Functions§
- host_
process_ capability - Returns the capability gating subprocess execution by a
ProcessRunner. - run_
process_ command - Runs the command in
spec, feedingstdin, and returns its captured stdout. - stream_
process_ command_ lines - Runs the command in
spec, feedingstdin, invokingon_linefor each stdout line as it arrives, and returns the full captured stdout.