提交 17e1c8c6 编写于 作者: N Nicolargo

Unable to launch Glances on Windows #1021

上级 82eaf337
......@@ -7,6 +7,7 @@ Version 2.x
Bugs corrected:
* Unable to launch Glances on Windows (issue #1021)
Version 2.8.2
=============
......
......@@ -269,7 +269,7 @@ class GlancesProcesses(object):
# Patch for issue #391
try:
self.cmdline_cache[procstat['pid']] = proc.cmdline()
except (AttributeError, UnicodeDecodeError, psutil.AccessDenied, psutil.NoSuchProcess):
except (AttributeError, UnicodeDecodeError, psutil.AccessDenied, psutil.NoSuchProcess, psutil.WindowsError):
self.cmdline_cache[procstat['pid']] = ""
procstat['cmdline'] = self.cmdline_cache[procstat['pid']]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册