diff --git a/module/device/platform/emulator_windows.py b/module/device/platform/emulator_windows.py index 4095ba9e7..e3dd74020 100644 --- a/module/device/platform/emulator_windows.py +++ b/module/device/platform/emulator_windows.py @@ -506,9 +506,10 @@ class EmulatorManager(EmulatorManagerBase): try: exe = proc.cmdline() exe = exe[0].replace(r'\\', '/').replace('\\', '/') - except (psutil.AccessDenied, psutil.NoSuchProcess, IndexError): + except (psutil.AccessDenied, psutil.NoSuchProcess, IndexError, OSError): # psutil.AccessDenied # NoSuchProcess: process no longer exists (pid=xxx) + # OSError: [WinError 87] 参数错误。: '(originated from ReadProcessMemory)' continue if Emulator.is_emulator(exe):