Trait mprocs_pty::SlavePty
source · [−]pub trait SlavePty {
fn spawn_command(
&self,
cmd: CommandBuilder
) -> Result<Box<dyn Child + Send + Sync>, Error>;
}
Expand description
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 + Send + Sync>, Error>
fn spawn_command(
&self,
cmd: CommandBuilder
) -> Result<Box<dyn Child + Send + Sync>, Error>
Spawns the command specified by the provided CommandBuilder