Commit 25ccafbc authored by Luke Macken's avatar Luke Macken

Look for libpython in the memory map, as opposed to just python

parent e3ccb131
......@@ -92,7 +92,7 @@ class ProcessTreeStore(Gtk.TreeStore):
proc = Process(pid)
try:
maps = open('/proc/%d/maps' % pid).read().strip()
if 'python' in maps:
if 'libpython' in maps:
self.append(None, (proc.title.strip(), proc,
Pango.Style.NORMAL))
except IOError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment