[][src]Trait portable_pty::SlavePty

pub trait SlavePty {
    fn spawn_command(
        &self,
        cmd: CommandBuilder
    ) -> Result<Box<dyn Child>, Error>; }

Represents the slave side of a pty. Can be used to spawn processes into the pty.

Required methods

fn spawn_command(&self, cmd: CommandBuilder) -> Result<Box<dyn Child>, Error>

Spawns the command specified by the provided CommandBuilder

Loading content...

Implementors

impl SlavePty for ConPtySlavePty[src]

impl SlavePty for WinPtySlavePty[src]

Loading content...