def get_pgid(self):
""" return the CURRENT group id of the process. this differs from
self.pgid in that this refects the current state of the process, where
self.pgid is the group id at launch """
return os.getpgid(self.pid)
评论列表
文章目录