pub struct Launch {
pub argv: Vec<OsString>,
pub cwd: PathBuf,
pub env: BTreeMap<String, String>,
pub remove_env: Vec<String>,
}Expand description
How to start the process (worked out on the start thread: it may build a venv).
Fields§
§argv: Vec<OsString>Program and arguments.
cwd: PathBuf§env: BTreeMap<String, String>Added to the inherited environment.
remove_env: Vec<String>Removed from it.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Launch
impl Freeze for Launch
impl Move for Launch
impl RefUnwindSafe for Launch
impl Send for Launch
impl Sync for Launch
impl Unpin for Launch
impl UnsafeUnpin for Launch
impl UnwindSafe for Launch
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