Fix #5113
This commit is contained in:
parent
c747e681a2
commit
ea8bed2a71
@ -59,7 +59,7 @@ def main() -> None:
|
||||
write(line)
|
||||
except KeyboardInterrupt:
|
||||
p.send_signal(signal.SIGINT)
|
||||
except EOFError:
|
||||
except (EOFError, BrokenPipeError):
|
||||
pass
|
||||
finally:
|
||||
p.stdout.close()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user