Struct shared_child::SharedChild [] [src]

pub struct SharedChild { /* fields omitted */ }

Methods

impl SharedChild
[src]

Spawn a new SharedChild from a std::process::Command.

Wait for the child to exit, blocking the current thread, and return its exit status.

Return the child's exit status if it has already exited. If the child is still running, return Ok(None).

Send a kill signal to the child. You should call wait afterwards to avoid leaving a zombie on Unix.