pub struct Process { /* private fields */ }Implementations§
Source§impl SbProcess
impl SbProcess
pub fn spawn( command: &str, cwd: Option<&str>, stdio: ProcessStdio, ) -> TogetherResult<Self>
pub fn kill(&mut self, signal: Option<&ProcessSignal>) -> TogetherResult<()>
pub fn try_wait(&mut self) -> TogetherResult<Option<i32>>
pub fn forward_stdio(&mut self, id: &ProcessId)
Auto Trait Implementations§
impl Freeze for SbProcess
impl RefUnwindSafe for SbProcess
impl Send for SbProcess
impl Sync for SbProcess
impl Unpin for SbProcess
impl UnwindSafe for SbProcess
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