mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
GH-110786: suppress BrokenPipeError on the sysconfig CLI (#110791)
This commit is contained in:
parent
b883cad06b
commit
6478dea3c8
2 changed files with 6 additions and 1 deletions
|
@ -242,4 +242,7 @@ def _main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
_main()
|
||||
try:
|
||||
_main()
|
||||
except BrokenPipeError:
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue