BasicTools.Helpers.which module
- BasicTools.Helpers.which.which(program: str) str | None[source]
Check if an executable is reachable and return the real “executable” (with the .exe or .bat )
- Parameters:
program (str) – the name of the programe to find, in windows the user can omit the .exe or the .bat extentions
- Returns:
return the string of the real executable or None if the executable is not found
- Return type:
Union[str,None]