Example #1
0
 def open_files(self):
     """Return files opened by process as a list of namedtuples."""
     rawlist = cext.proc_open_files(self.pid)
     return [_common.popenfile(path, fd) for path, fd in rawlist]
Example #2
0
 def open_files(self):
     """Return files opened by process as a list of namedtuples."""
     rawlist = cext.proc_open_files(self.pid)
     return [_common.popenfile(path, fd) for path, fd in rawlist]