mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 12:21:55 +00:00
Cache exe lookups
This commit is contained in:
parent
7eba3b6cbc
commit
af94e07618
1 changed files with 1 additions and 0 deletions
|
|
@ -538,6 +538,7 @@ def system_paths_on_macos() -> List[str]:
|
|||
return entries
|
||||
|
||||
|
||||
@lru_cache
|
||||
def find_exe(name: str) -> Optional[str]:
|
||||
import shutil
|
||||
ans = shutil.which(name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue