The stupid term package is not EINTR safe

This commit is contained in:
Kovid Goyal
2022-11-14 15:41:48 +05:30
parent 15e1f376a4
commit e599a2c87f
2 changed files with 13 additions and 4 deletions
+2
View File
@@ -897,6 +897,8 @@ def update_go_generated_files(args: Options, kitty_exe: str) -> None:
def build_kitty_tool(args: Options, launcher_dir: str, for_freeze: bool = False) -> None:
sys.stdout.flush()
sys.stderr.flush()
go = shutil.which('go')
if not go:
raise SystemExit('The go tool was not found on this system. Install Go')