pub struct SubprocessSpec {
pub program: String,
pub args: Vec<String>,
pub workspace: PathBuf,
pub stdin: Option<String>,
pub timeout: Option<Duration>,
pub env: Vec<(String, String)>,
pub result_file: Option<PathBuf>,
}Expand description
How to invoke a subprocess worker.
Fields§
§program: String§args: Vec<String>§workspace: PathBufWorking directory — the repo the worker operates in.
stdin: Option<String>Optional text piped to the child’s stdin (some CLIs take the prompt this
way); None closes stdin.
timeout: Option<Duration>Hard wall-clock timeout. Always set one for beta CLIs (CONTEXT.md §21).
env: Vec<(String, String)>Extra environment variables set on the child, on top of the inherited
environment. Carries MCP provisioning tokens so they reach a harness’s
servers without ever being written to a config file (MCP_SKILLS.md §6).
result_file: Option<PathBuf>When set (Stage interactive TUI), Rinne treats a stable write to this path as the harness deliverable — so we can open the real product UI without relying on tee’d stdout (which destroys the TUI).
Trait Implementations§
Source§impl Clone for SubprocessSpec
impl Clone for SubprocessSpec
Auto Trait Implementations§
impl Forget for SubprocessSpec
impl Freeze for SubprocessSpec
impl Move for SubprocessSpec
impl RefUnwindSafe for SubprocessSpec
impl Send for SubprocessSpec
impl Sync for SubprocessSpec
impl Unpin for SubprocessSpec
impl UnsafeUnpin for SubprocessSpec
impl UnwindSafe for SubprocessSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.