mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
Also handle EOFError
This commit is contained in:
parent
6c8a4f8d9f
commit
7fe6c7e78b
1 changed files with 2 additions and 0 deletions
|
|
@ -56,6 +56,8 @@ def main() -> None:
|
|||
except KeyboardInterrupt:
|
||||
p.send_signal(signal.SIGINT)
|
||||
p.stdout.close()
|
||||
except EOFError:
|
||||
p.stdout.close()
|
||||
raise SystemExit(p.wait())
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue