pub struct SpawnParams<'a> {
pub runner: &'a RunnerConfig,
pub command: &'a str,
pub cwd: &'a Path,
pub stdio_mode: RunnerStdioMode,
pub extra_env: &'a HashMap<String, String>,
pub pipe_stdin: bool,
pub execution_profile: &'a ResolvedExecutionProfile,
}Expand description
Groups the inputs required to spawn a runner command.
Fields§
§runner: &'a RunnerConfigRunner configuration describing shell and policy settings.
command: &'a strCommand string to execute.
cwd: &'a PathWorking directory for the spawned process.
stdio_mode: RunnerStdioModeStdIO wiring strategy to apply to the child process.
extra_env: &'a HashMap<String, String>Extra environment variables resolved for the selected agent.
pipe_stdin: boolWhether stdin should be piped to the child.
execution_profile: &'a ResolvedExecutionProfileResolved execution profile controlling sandbox behavior.
Auto Trait Implementations§
impl<'a> Freeze for SpawnParams<'a>
impl<'a> RefUnwindSafe for SpawnParams<'a>
impl<'a> Send for SpawnParams<'a>
impl<'a> Sync for SpawnParams<'a>
impl<'a> Unpin for SpawnParams<'a>
impl<'a> UnsafeUnpin for SpawnParams<'a>
impl<'a> UnwindSafe for SpawnParams<'a>
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