Skip to main content

spawn_command

Function spawn_command 

Source
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.