pub fn new<S: AsRef<OsStr> + ?Sized>(wdir_ref: &S) -> Self {
        let mut cmd = Command::new(EXE);
        let wdir = Path::new(wdir_ref).to_path_buf();
        cmd.current_dir(&wdir);
        Self { cmd, wdir }
    }
/// Create a wrapper with specified working directory
Create a wrapper with specified working directory
Create a wrapper with specified working directory
pub fn new<S: AsRef<OsStr> + ?Sized>(wdir_ref: &S) -> Self {
        let mut cmd = Command::new(EXE);
        let wdir = Path::new(wdir_ref).to_path_buf();
        cmd.current_dir(&wdir);
        Self { cmd, wdir }
    }
pub fn new < S : AsRef < OsStr > + ? Sized > ( wdir_ref : & S ) -> Self { let mut cmd = Command :: new ( EXE ) ; let wdir = Path :: new ( wdir_ref ) . to_path_buf ( ) ; cmd . current_dir ( & wdir ) ; Self { cmd , wdir } }
Create a wrapper with specified working directory
Create a wrapper with specified working directory
wdir_ref
&S
wdir_ref
&S