...
This commit is contained in:
parent
73a4ea8d0a
commit
dc888a87d6
1 changed files with 1 additions and 3 deletions
|
|
@ -425,9 +425,7 @@ def background_processes(self) -> list[ProcessDesc]:
|
|||
return []
|
||||
ans = []
|
||||
for grp_id, pids in gmap.items():
|
||||
if grp_id == foreground_process_group_id:
|
||||
continue
|
||||
if session_id(pids) == sid:
|
||||
if grp_id != foreground_process_group_id and session_id(pids) == sid:
|
||||
for pid in pids:
|
||||
ans.append(self.process_desc(pid))
|
||||
return ans
|
||||
|
|
|
|||
Loading…
Reference in a new issue