@property
    def active_processes(self):
        active_processes, dead_processes = list(), list()
        for consumer in self.consumers:
            for name in self.consumers[consumer].processes:
                child = self.get_consumer_process(consumer, name)
                if int(child.pid) == os.getpid():
                    continue
                try:
                    proc = psutil.Process(child.pid)
                except psutil.NoSuchProcess:
                    dead_processes.append((consumer, name))
                    continue

                if self.is_dead(proc):
                    dead_processes.append((consumer, name))
                else:
                    active_processes.append(child)

        if dead_processes:
            LOGGER.debug('Removing %i dead process(es)', len(dead_processes))
            for proc in dead_processes:
                self.remove_consumer_process(*proc)
        return active_processes
Fetches the authenticated user data upon redirect.
dataset/ETHPy150Open gmr/rejected/rejected/mcp.py/MasterControlProgram.active_processes--crossover with--dataset/ETHPy150Open IanLewis/kay/kay/ext/gaema/auth.py/GoogleMixin.get_authenticated_user