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