Trait pty_process::Command [−][src]
pub trait Command {
type Child;
type Pty;
fn spawn_pty(
&mut self,
size: Option<&Size>
) -> Result<Child<Self::Child, Self::Pty>>;
}
Expand description
Adds methods to the existing Command
struct.
This trait is automatically implemented for a backend’s Command
struct
when that backend’s feature is enabled.