Skip to content

Conversation

@gz
Copy link
Contributor

@gz gz commented Apr 18, 2022

Fixes #38

Err(PipeError::IO(ref err)) => {
// For an explanation of why we use `raw_os_error` see:
// https://github.com/zhiburt/ptyprocess/commit/df003c8e3ff326f7d17bc723bc7c27c50495bb62
self.eof = err.raw_os_error() == Some(5)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think this would be libc::EIO, which is a bit easier to read.

@matthiasbeyer
Copy link
Member

Everyone please wait until CI is fully setup before merging this, okay? 😆

@petreeftime
Copy link
Collaborator

bors try

bors bot added a commit that referenced this pull request Sep 12, 2022
@bors
Copy link
Contributor

bors bot commented Sep 12, 2022

try

Build failed:

@matthiasbeyer matthiasbeyer mentioned this pull request Sep 12, 2022
@matthiasbeyer
Copy link
Member

Included via #67

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.

PtySession::expect_eof never finishes with current nightly build

3 participants