@tikoci/centrs
    Preparing search index...

    Function runTerminal

    • Run an interactive terminal session and resolve with the exit code. mac-telnet drives the in-process console relay over TerminalIo (returns 0 on a clean close; throws before any output on a pre-stream failure). ssh delegates to the host ssh client with inherited stdio and returns its exit code. A non-terminal transport throws transport/capability-unsupported from the gate.

      Parameters

      Returns Promise<number>