pub struct LaunchSpec {
pub program: PathBuf,
pub args: Vec<String>,
pub env: Vec<(String, String)>,
pub report_timeout: Duration,
pub report_dir: Option<PathBuf>,
}Expand description
What to launch. program is the app’s executable (spawned directly so this
process owns the PID; no open/LaunchServices indirection).
Fields§
§program: PathBuf§args: Vec<String>§env: Vec<(String, String)>§report_timeout: Duration§report_dir: Option<PathBuf>Directory for the report file; default std::env::temp_dir().
Implementations§
Trait Implementations§
Source§impl Clone for LaunchSpec
impl Clone for LaunchSpec
Auto Trait Implementations§
impl Freeze for LaunchSpec
impl RefUnwindSafe for LaunchSpec
impl Send for LaunchSpec
impl Sync for LaunchSpec
impl Unpin for LaunchSpec
impl UnsafeUnpin for LaunchSpec
impl UnwindSafe for LaunchSpec
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