pub struct ProcessSpawner;Expand description
Starts a real process. Never through a shell: the argument vector is passed as it was built, so a value from a manifest cannot become a second command.
Trait Implementations§
Source§impl SpawnBox for ProcessSpawner
impl SpawnBox for ProcessSpawner
Source§fn spawn(&self, invocation: &BoxInvocation<'_>) -> Result<Box<dyn RunningBox>>
fn spawn(&self, invocation: &BoxInvocation<'_>) -> Result<Box<dyn RunningBox>>
Starts the box, or reports why it could not start. Read more
Auto Trait Implementations§
impl Freeze for ProcessSpawner
impl RefUnwindSafe for ProcessSpawner
impl Send for ProcessSpawner
impl Sync for ProcessSpawner
impl Unpin for ProcessSpawner
impl UnsafeUnpin for ProcessSpawner
impl UnwindSafe for ProcessSpawner
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