pub struct SpawnOptions {
pub program: String,
pub args: Vec<String>,
pub env: Vec<(String, String)>,
pub env_clear: bool,
pub cwd: Option<Utf8PathBuf>,
pub escalated: bool,
pub stdin: StdioMode,
pub stdout: StdioMode,
pub stderr: StderrMode,
}Fields§
§program: String§args: Vec<String>§env: Vec<(String, String)>§env_clear: bool§cwd: Option<Utf8PathBuf>§escalated: bool§stdin: StdioMode§stdout: StdioMode§stderr: StderrModeTrait Implementations§
Source§impl Default for SpawnOptions
impl Default for SpawnOptions
Source§fn default() -> SpawnOptions
fn default() -> SpawnOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SpawnOptions
impl RefUnwindSafe for SpawnOptions
impl Send for SpawnOptions
impl Sync for SpawnOptions
impl Unpin for SpawnOptions
impl UnsafeUnpin for SpawnOptions
impl UnwindSafe for SpawnOptions
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