get_path_binary (method)

get_path_binary(binary_name, is_include_file=True)[source]

Function to find path of the executable given by ‘binary_name’

Parameters
  • bindary_name (str) – name of the executable

  • is_include_file (bool) – append the bindary_name to the path if set to True, default: True

Returns

path – path of the executable, return None if no executable is found

Return type

str