From bd6c22ca1d70ec579891b3f45e3ce40ce7886d43 Mon Sep 17 00:00:00 2001 From: jan Date: Wed, 15 Apr 2020 01:32:33 -0700 Subject: [PATCH] windows: Don't fail search on unopenable process --- mem_edit/windows.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mem_edit/windows.py b/mem_edit/windows.py index 038c58a..0954403 100644 --- a/mem_edit/windows.py +++ b/mem_edit/windows.py @@ -205,6 +205,8 @@ class Process(AbstractProcess): return pid except ValueError: pass + except MemEditError as err: + logger.info(repr(err)) logger.info('Found no process with name {}'.format(target_name)) return None