code: def resolve_interpreter(exe):
      
      if os.path.abspath(exe) != exe:
          paths = os.environ.get('PATH', '').split(os.pathsep)
          for path in paths:
              if os.path.exists(os.path.join(path, exe)):
                  exe = os.path.join(path, exe)
                  break
      if not os.path.exists(exe):
          logger.fatal('The executable %s (from --python=%s) does not exist' % (exe, exe))
          sys.exit(3)
      return exe
docs: If the executable given isn't an absolute path, search $PATH for the interpreter