giampaolo / psutil

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

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

Closed giampaolo closed 11 months ago

giampaolo commented 11 months 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.