fix venv encoding on windows (an potentially other systems)

This commit is contained in:
Believethehype
2024-06-25 11:35:08 +02:00
parent ddc36e0967
commit 422e64eccb
3 changed files with 3 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ class DVMTaskInterface:
@staticmethod
def write_output(result, output):
with open(os.path.abspath(output), 'w') as f:
with open(os.path.abspath(output), 'w', encoding="utf8") as f:
f.write(result)
# f.close()