code: def _bin(self, bin):  # type: (str) -> str
          
          bin_path = (self._bin_dir / bin).with_suffix(".exe" if self._is_windows else "")
          if not bin_path.exists():
              return bin
  
          return str(bin_path)
docs: Return path to the given executable.