pub struct ShellRunOptions {
pub shell_path: Option<String>,
pub agent_dir: String,
pub process_env: Option<Vec<(String, String)>>,
}Expand description
Options of run_shell_command.
Fields§
§shell_path: Option<String>Explicit shell (setting shellPath).
agent_dir: StringAgent directory: temp files in <agent_dir>/tmp, <agent_dir>/bin on PATH.
process_env: Option<Vec<(String, String)>>Base environment; None uses this process’s environment.
Trait Implementations§
Source§impl Clone for ShellRunOptions
impl Clone for ShellRunOptions
Source§impl Debug for ShellRunOptions
impl Debug for ShellRunOptions
Source§impl Default for ShellRunOptions
impl Default for ShellRunOptions
impl Eq for ShellRunOptions
Source§impl PartialEq for ShellRunOptions
impl PartialEq for ShellRunOptions
impl StructuralPartialEq for ShellRunOptions
Auto Trait Implementations§
impl Freeze for ShellRunOptions
impl RefUnwindSafe for ShellRunOptions
impl Send for ShellRunOptions
impl Sync for ShellRunOptions
impl Unpin for ShellRunOptions
impl UnsafeUnpin for ShellRunOptions
impl UnwindSafe for ShellRunOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.