| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…nohup) newterm() needs a readable input fd, but nohup can leave stdin write-only. Fall back to the output fd, as already done when stdin has no fileno. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
test_curses fails in setUp() when the suite is run backgrounded under nohup:
setUp() derives the newterm() input fd from stdin, but nohup leaves stdin write-only when it backgrounds a run started from a terminal, and newterm() rejects a write-only input fd. Fall back to the output fd in that case, as is already done when stdin has no fileno().
This only affects builds using the newterm() path (ncurses 6.5+); the previous initscr() path tolerated a write-only stdin.
Reported by @weixlu.