def list_processes(self):
            import csv
            tasklist = local["tasklist"]
            output = tasklist("/V", "/FO", "CSV")
            if not six.PY3:
                # The Py2 csv reader does not support non-ascii values
                output = output.encode('ascii', 'ignore')
            lines = output.splitlines()
            rows = csv.reader(lines)
            header = next(rows)
            imgidx = header.index('Image Name')
            pididx = header.index('PID')
            statidx = header.index('Status')
            useridx = header.index('User Name')
            for row in rows:
                yield ProcInfo(int(row[pididx]), row[useridx],
                    row[statidx], row[imgidx])
By default, creating a new user sends an activation email.
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/machines/local.py/LocalMachine.list_processes--crossover with--dataset/ETHPy150Open codesters/codesters/registration/tests/models.py/RegistrationModelTests.test_user_creation_email