mirror of
https://github.com/decompme/decomp.me.git
synced 2026-02-13 17:18:45 -06:00
Accept malformed UTF-8 in compiler output (#731)
Untested. See https://docs.python.org/3/library/io.html#io.TextIOWrapper for the allowed values of `errors`.
This commit is contained in:
@@ -125,6 +125,7 @@ class Sandbox(contextlib.AbstractContextManager["Sandbox"]):
|
||||
return subprocess.run(
|
||||
command,
|
||||
text=True,
|
||||
errors="backslashreplace",
|
||||
env=env,
|
||||
cwd=self.path,
|
||||
check=True,
|
||||
|
||||
Reference in New Issue
Block a user