(self, pid=None, handle=None, name=None, ppid=None)
| 983 | class WinProcess(Process): |
| 984 | """A Process on the system""" |
| 985 | def __init__(self, pid=None, handle=None, name=None, ppid=None): |
| 986 | if pid is None and handle is None: |
| 987 | raise ValueError("Need at least <pid> or <handle> to create a {0}".format(type(self).__name__)) |
| 988 | |
| 989 | if pid is not None: self._pid = pid |
| 990 | if handle is not None: self._handle = handle |
| 991 | if name is not None: self._name = name |
| 992 | if ppid is not None: self._ppid = ppid |
| 993 | |
| 994 | |
| 995 | @staticmethod |
nothing calls this directly
no outgoing calls
no test coverage detected