pub fn spawn_command(
config: PtyConfig,
cmd: CommandBuilder,
) -> Result<PtySession>Expand description
Spawn a command into a new PTY.
config.term and config.env are applied to the CommandBuilder before spawn.
pub fn spawn_command(
config: PtyConfig,
cmd: CommandBuilder,
) -> Result<PtySession>Spawn a command into a new PTY.
config.term and config.env are applied to the CommandBuilder before spawn.