pub struct InteractiveEnvironmentCommandRunner;Expand description
Interactive runner for approved installation commands.
Standard streams are inherited so package managers and sudo can prompt
the user. Read-only detection must continue using
ProcessEnvironmentCommandRunner so probe output remains inspectable.
Trait Implementations§
impl Copy for InteractiveEnvironmentCommandRunner
Source§impl EnvironmentCommandRunner for InteractiveEnvironmentCommandRunner
impl EnvironmentCommandRunner for InteractiveEnvironmentCommandRunner
fn run(&self, program: &str, args: &[OsString]) -> CascadeResult<ProbeOutput>
Auto Trait Implementations§
impl Freeze for InteractiveEnvironmentCommandRunner
impl RefUnwindSafe for InteractiveEnvironmentCommandRunner
impl Send for InteractiveEnvironmentCommandRunner
impl Sync for InteractiveEnvironmentCommandRunner
impl Unpin for InteractiveEnvironmentCommandRunner
impl UnsafeUnpin for InteractiveEnvironmentCommandRunner
impl UnwindSafe for InteractiveEnvironmentCommandRunner
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