

@wrap_exceptions
def get_process_status(self):
    code = _psutil_osx.get_process_status(self.pid)
    if (code in _status_map):
        return _status_map[code]
    return constant((- 1), '?')

dataset/ETHPy150Open packages/psutil/psutil/_psosx.py Process.get_process_status/original