giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.32k stars 1.39k forks source link

[Linux] correctly raise ZombieProcess on exe(), cmdline() and memory_maps() #2288

Closed giampaolo closed 1 year ago

giampaolo commented 1 year ago

Summary

Description

Expand the bug reported in #2062. In case of zombie process, exe(), cmdline() and memory_maps() returned a "null" value. Now they raise ZombieProcess instead.