Skip to content

SshCommand OutputStream has no way to directly set BlockLastReadBuffer #142

Closed
@hifi

Description

@hifi

When reading the stdout of a process executed through SshCommand the output stream will throw an exception if you read beyond what's available in the buffer and it seems to be by design.

Although in my opinion this is the wrong default, there's no direct way to change the property at runtime as the exposed interface is the standard Stream.

Could the default be changed to more sensible blocking behavior or there be a public method/property that can be used to change it at runtime?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions