executeCommandPair(_:inShell:)

    Executes a command on the remote server. This will return the pair of streams stdout and stderr of the command. If the command fails, the error will be thrown.

    TTY.swift:224
    func executeCommandPair(_ command: String, inShell: Bool = false) async throws -> ExecCommandStream
    • command: The command to execute.

    Other members in extension

    Types

    Type members

    Instance members