(*search_paths)
| 9 | |
| 10 | |
| 11 | def find_executable_cmd(*search_paths) -> list[str] | None: |
| 12 | for browser in search_paths: |
| 13 | if shutil.which(browser): |
| 14 | return [browser] |
| 15 | |
| 16 | return None |
| 17 | |
| 18 | |
| 19 | def find_flatpak_cmd(*search_paths) -> list[str] | None: |
no outgoing calls
no test coverage detected
searching dependent graphs…