Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gnodet opened this issue Oct 21, 2024 · 0 comments
Milestone

Comments

@gnodet
Copy link
Member

gnodet commented Oct 21, 2024

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.

@gnodet gnodet added this to the 3.27.2 milestone Oct 21, 2024
gnodet added a commit to gnodet/jline3 that referenced this issue Dec 10, 2024
@gnodet gnodet closed this as completed in c6378cd Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant