Function spawn_client_pty
pub(crate) fn spawn_client_pty(
program: &str,
arguments: &[String],
size: PtySize,
) -> Result<ClientPty>
Expand description
Run program with arguments on a new PTY.
§Arguments
program - The SSH program to run.
arguments - Arguments passed to program.
size - Initial PTY size.
§Returns
The spawned ClientPty, or the error that prevented spawning it.