feature: log.txt with all stdout/stderr

This commit is contained in:
Dobin
2024-02-12 18:12:54 +00:00
parent 9639f1c405
commit 3b8ba16b3f
3 changed files with 31 additions and 17 deletions
+2 -2
View File
@@ -57,9 +57,9 @@ def verify_injected_exe(exefile):
# remove indicator file
pathlib.Path(verify_filename).unlink(missing_ok=True)
subprocess.run([
run_process_checkret([
exefile,
], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) # , check=True
], check=False)
time.sleep(SHC_VERIFY_SLEEP)
if os.path.isfile(verify_filename):
print("---> Verify OK. Infected exe works (file was created)")