Skip to main content

SpawnedPty

Type Alias SpawnedPty 

Source
pub type SpawnedPty = SpawnedProcess;
Expand description

Backwards-compatible alias for SpawnedProcess.

Aliased Type§

pub struct SpawnedPty {
    pub session: ProcessHandle,
    pub output_rx: Receiver<Vec<u8>>,
    pub exit_rx: Receiver<i32>,
}

Fields§

§session: ProcessHandle

Handle for interacting with the process.

§output_rx: Receiver<Vec<u8>>

Receiver for stdout/stderr output chunks.

§exit_rx: Receiver<i32>

Receiver for exit code (receives once when process exits).