[][src]Struct makepad_hub::Process

pub struct Process {
    pub child: Option<Child>,
    pub rx_line: Option<Receiver<Option<(bool, String)>>>,
}

Fields

child: Option<Child>rx_line: Option<Receiver<Option<(bool, String)>>>

Methods

impl Process[src]

pub fn start(
    cmd: &str,
    args: &[&str],
    current_dir: &str,
    env: &[(&str, &str)]
) -> Result<Process, Error>
[src]

pub fn wait(&mut self)[src]

pub fn kill(&mut self)[src]

Auto Trait Implementations

impl Send for Process

impl !Sync for Process

impl Unpin for Process

impl !UnwindSafe for Process

impl !RefUnwindSafe for Process

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]