releso.util.util_funcs.which
- releso.util.util_funcs.which(program: str) str | None
Finds if the given program is accessible or in the $PATH.
- Parameters:
program (str) – Program to look for
Note
Verbatim taken from this stack overflow answer: https://stackoverflow.com/a/377028
- Returns:
None if not found else execution file.
- Return type:
Optional[str]