suppress lualatex output

This commit is contained in:
Sina Atalay
2023-11-17 20:30:02 +01:00
parent 7cbfe6cace
commit c9dd38cbc2

View File

@@ -453,7 +453,7 @@ def run_latex(latex_file_path: str) -> str:
f"{latex_file_name}",
],
cwd=os.path.dirname(latex_file_path),
# stdout=subprocess.PIPE,
stdout=subprocess.PIPE,
stdin=subprocess.DEVNULL, # don't allow TinyTeX to ask for user input
text=True,
shell=True,