pub fn open_terminal(
options: TerminalCaptureOptions,
) -> Result<TerminalSession, TerminalCaptureError>Expand description
Open a terminal session that stays alive until the caller closes it.
Unlike capture_terminal, input may be sent at any later point through
TerminalSession::send, and readiness can be awaited with
TerminalSession::wait_for. options.timeout defaults to None here, so
nothing terminates the child until TerminalSession::close is called.