VMExtractor: Another zombie process handling attempt

This commit is contained in:
RichardG867
2025-05-13 17:35:01 -03:00
parent 0058a89444
commit c7a686e4ae

View File

@@ -2935,10 +2935,10 @@ class VMExtractor(PEExtractor):
subprocess.run(args, input=monitor_cmd, timeout=60, stdout=self._devnull, stderr=subprocess.STDOUT)
except:
self.debug_print('Running QEMU failed (timed out?)')
try:
proc.terminate()
except:
pass
try:
proc.terminate()
except:
pass
def _extract_floppy(self, file_path, file_header, dest_dir, dest_dir_0, *, match):
"""Extract DOS-based floppy self-extractors."""