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…
Reference in a new issue