Skip to main content

run_interactive

Function run_interactive 

Source
pub fn run_interactive(proc: Arc<ExecProcess>) -> Result<i32, SailError>
Expand description

Drive the local terminal against a PTY exec until the remote process exits, returning its exit code. Raw mode and the SIGWINCH handler are always restored, even on error.