def findMacRunning(paths):
    """
    List all the running league client processes.
    """
    for process in psutil.process_iter(attrs=['name']):
        if process.info['name'].lower() == 'leagueclient':
            path = process.exe().split('/Contents/LoL/RADS/')
            if len(path) == 2:
                paths.append(path[0])

    List all the running league client processes.
    
leaguedirector/enable.py