Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Use close_on_exec method instead of using fcntl calls for pty. Fixes #5663 #5677
Fix as suggested in #5663. Provides same behavior as MRI now.
Additionally, I ran this test:
This also doesn't address the opposite behavior of the nonblock flag as I noted in #5663