def get_prog():
    try:
        if os.path.basename(sys.argv[0]) in ('__main__.py', '-c'):
            return "%s -m pip" % sys.executable
    except (AttributeError, __HOLE__, IndexError):
        pass
    return 'pip'


# Retry every half second for up to 3 seconds
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/utils/__init__.py/get_prog