pub struct SystemRunner;Expand description
Runs commands as real child processes.
Trait Implementations§
Source§impl Clone for SystemRunner
impl Clone for SystemRunner
Source§fn clone(&self) -> SystemRunner
fn clone(&self) -> SystemRunner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandRunner for SystemRunner
impl CommandRunner for SystemRunner
Source§fn run(
&self,
spec: &CommandSpec,
io: IoPolicy,
) -> Result<CommandOutput, ProcessError>
fn run( &self, spec: &CommandSpec, io: IoPolicy, ) -> Result<CommandOutput, ProcessError>
Runs the command to completion. Read more
Source§fn spawn_detached(&self, spec: &CommandSpec) -> Result<(), ProcessError>
fn spawn_detached(&self, spec: &CommandSpec) -> Result<(), ProcessError>
Starts the command without waiting for it to finish. Read more
Source§fn run_checked(
&self,
spec: &CommandSpec,
io: IoPolicy,
) -> Result<CommandOutput, ProcessError>
fn run_checked( &self, spec: &CommandSpec, io: IoPolicy, ) -> Result<CommandOutput, ProcessError>
Runs the command and fails if it exits unsuccessfully. Read more
impl Copy for SystemRunner
Source§impl Debug for SystemRunner
impl Debug for SystemRunner
Source§impl Default for SystemRunner
impl Default for SystemRunner
Source§fn default() -> SystemRunner
fn default() -> SystemRunner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SystemRunner
impl RefUnwindSafe for SystemRunner
impl Send for SystemRunner
impl Sync for SystemRunner
impl Unpin for SystemRunner
impl UnsafeUnpin for SystemRunner
impl UnwindSafe for SystemRunner
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