pub struct ExecutionRequest {
pub command: CommandSpec,
pub cwd: Option<BackendPath>,
pub env: BTreeMap<String, String>,
pub env_remove: Vec<String>,
pub stdin: Option<Vec<u8>>,
pub keep_stdin: bool,
}Fields§
§command: CommandSpec§cwd: Option<BackendPath>§env: BTreeMap<String, String>§env_remove: Vec<String>§stdin: Option<Vec<u8>>§keep_stdin: boolLeave the process’s stdin open for the caller to write to over its
life (SpawnedProcess::take_stdin), after stdin when given. A
backend that cannot keep a pipe open spawns as without it, and
take_stdin returns None.
Implementations§
Trait Implementations§
Source§impl Clone for ExecutionRequest
impl Clone for ExecutionRequest
Auto Trait Implementations§
impl Forget for ExecutionRequest
impl Freeze for ExecutionRequest
impl Move for ExecutionRequest
impl RefUnwindSafe for ExecutionRequest
impl Send for ExecutionRequest
impl Sync for ExecutionRequest
impl Unpin for ExecutionRequest
impl UnsafeUnpin for ExecutionRequest
impl UnwindSafe for ExecutionRequest
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