Skip to content

JLine exec provider should reject terminal creation on a redirected output stream #1098

@gnodet

Description

@gnodet

Terminal created with:

TerminalBuilder.builder().systemOutput(TerminalBuilder.SystemOutput.ForcedSysOut).build()

if running:

cmd > out.txt

In such a case, the system out stream is redirected, but it's forced as the output, so the creation should be rejected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions