pub struct Cmd {
pub program: String,
pub args: Vec<String>,
}
Expand description
This struct is basically identical to the std::process::Command, but when it is executed, it returns the stdout of the process as a string.
Fields§
§program: String
§args: Vec<String>
Implementations§
Trait Implementations§
impl StructuralPartialEq for Cmd
Auto Trait Implementations§
impl Freeze for Cmd
impl RefUnwindSafe for Cmd
impl Send for Cmd
impl Sync for Cmd
impl Unpin for Cmd
impl UnwindSafe for Cmd
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