Struct rustuv::process::Process[src]

pub struct Process {
    // some fields omitted
}

Methods

impl Process

fn spawn(io_loop: &mut UvIoFactory, cfg: ProcessConfig) -> Result<(Box<Process>, Vec<Option<PipeWatcher>>), UvError>

Spawn a new process inside the specified event loop.

Returns either the corresponding process object or an error which occurred.

fn kill(pid: pid_t, signum: int) -> Result<(), UvError>

Trait Implementations

impl UvHandle<uv_process_t> for Process

fn uv_handle(&self) -> *uv_process_t

fn uv_loop(&self) -> Loop

fn alloc(_: Option<Self>, ty: uv_handle_type) -> *T

unsafe fn from_uv_handle<'a>(h: &'a *T) -> &'a mut Self

fn install(~self) -> Box<Self>

fn close_async_(&mut self)

fn close(&mut self)

impl RtioProcess for Process

fn id(&self) -> pid_t

fn kill(&mut self, signal: int) -> IoResult<()>

fn wait(&mut self) -> IoResult<ProcessExit>

fn set_timeout(&mut self, timeout: Option<u64>)

impl Drop for Process

fn drop(&mut self)