Trait pty_process::Command [−][src]
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.
Associated Types
Loading content...Required methods
fn spawn_pty(
&mut self,
size: Option<&Size>
) -> Result<Child<Self::Child, Self::Pty>>
[src]
&mut self,
size: Option<&Size>
) -> Result<Child<Self::Child, Self::Pty>>
Creates a new pty, associates the command’s stdin/stdout/stderr with
that pty, and then calls spawn
. This will override any previous
calls to stdin
/stdout
/stderr
.
Implementors
impl<T> Command for T where
T: CommandImpl,
T::Pty: Pty,
<<T as CommandImpl>::Pty as Pty>::Pt: AsRawFd,
[src]
T: CommandImpl,
T::Pty: Pty,
<<T as CommandImpl>::Pty as Pty>::Pt: AsRawFd,