Don't display a warning when the binfmt process doesn't have a controlling terminal by OneBlue · Pull Request #13176 · microsoft/WSL
Summary of the Pull Request
This change prevents the binfmt interpret from displaying a stderr warning when the process has no controlling terminal while having tty fds.
PR Checklist
- Closes: Link to issue binfmt.cpp: CreateNtProcessConfigureConsole: tcgetpgrp failed: Error is logged even though it is not an error #13173
- Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
- Tests: Added/updated if needed and all pass
- Localization: All end user facing strings can be localized
- Dev docs: Added/updated if needed
- Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx