pub struct ShellLauncher;Implementations§
Source§impl ShellLauncher
impl ShellLauncher
pub fn run(&self, cmd: &mut Command) -> Result<()>
pub fn run_with_output( &self, cmd: &mut Command, ) -> Result<(ExitStatus, Vec<u8>, Vec<u8>)>
pub fn spawn(&self, cmd: &mut Command) -> Result<()>
pub fn with_stdins<'a>( &self, cmd: &'a mut Command, stdin: Option<File>, ) -> &'a mut Command
pub fn program_arg(&self, program: impl AsRef<OsStr>) -> Command
Trait Implementations§
Source§impl Default for ShellLauncher
impl Default for ShellLauncher
Source§fn default() -> ShellLauncher
fn default() -> ShellLauncher
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShellLauncher
impl RefUnwindSafe for ShellLauncher
impl Send for ShellLauncher
impl Sync for ShellLauncher
impl Unpin for ShellLauncher
impl UnwindSafe for ShellLauncher
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