Skip to content

Use the same TTY detection as kubectl - #522

Open
dkrasins wants to merge 4 commits into
mainfrom
521-ocne-cluster-console-can-fail-if-stdin-is-a-character-device-and-that-device-is-a-tty
Open

dkrasins wants to merge 4 commits into
mainfrom
521-ocne-cluster-console-can-fail-if-stdin-is-a-character-device-and-that-device-is-a-tty

Conversation

@dkrasins

Copy link
Copy Markdown
Member

This addresses #521. As the comment in the original implementation notes, there is a possibility that a character device that is not a TTY is used as stdin. Turns out there is actually an interesting example: /dev/null.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ocne cluster console can fail if stdin is a character device and that device is a tty

1 participant