fix: possible fix for #7

This commit is contained in:
Dobin Rutishauser
2025-10-19 19:41:56 +02:00
parent 77e0a7f23e
commit 1f9f0b6c69
+2 -2
View File
@@ -72,10 +72,10 @@ def run_process_checkret(args, check=True):
# handle output
stdout_s = ""
if ret.stdout != None:
stdout_s = ret.stdout.decode('utf-8')
stdout_s = ret.stdout.decode('utf-8', errors='replace')
stderr_s = ""
if ret.stderr != None:
stderr_s = ret.stderr.decode('utf-8')
stderr_s = ret.stderr.decode('utf-8', errors='replace')
# log it
observer.add_cmd_output(">>> {}\n".format(" ".join(args)))