The stupid term package is not EINTR safe

This commit is contained in:
Kovid Goyal
2022-08-21 11:45:58 +05:30
parent 15e1f376a4
commit e599a2c87f
2 changed files with 13 additions and 4 deletions

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')