Skip to content

pty: on Linux (and others) convert tty EIO errors to End_of_file - #905

Open
avsm wants to merge 1 commit into
ocaml-multicore:mainfrom
avsm:fix-pty-eof
Open

pty: on Linux (and others) convert tty EIO errors to End_of_file#905
avsm wants to merge 1 commit into
ocaml-multicore:mainfrom
avsm:fix-pty-eof

Conversation

@avsm

@avsm avsm commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This just converts EIO errors on isatty() over to End_of_file, rather than wrapping pty fds specifically. Seems cleaner to not leak errors from the backends.

fixes #902

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

Successfully merging this pull request may close these issues.

Pty raises IO error on Linux

1 participant