From 992e72ba93487d1dd1df9921f07bcf7d654d632b Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Wed, 11 Oct 2023 17:54:41 +0200 Subject: [PATCH] debug windows tests --- rendercv/rendering.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rendercv/rendering.py b/rendercv/rendering.py index 2a1d866..35f9c4c 100644 --- a/rendercv/rendering.py +++ b/rendercv/rendering.py @@ -364,6 +364,7 @@ def run_latex(latex_file_path): continue # remove the file: os.remove(os.path.join(os.path.dirname(latex_file_path), file)) + if os.name == "nt": tinytex_path = os.path.join( os.path.dirname(__file__), @@ -390,7 +391,7 @@ def run_latex(latex_file_path): f"{latex_file}", ], cwd=os.path.dirname(latex_file_path), - stdout=subprocess.DEVNULL, # suppress latexmk output + # stdout=subprocess.DEVNULL, # suppress latexmk output ) end_time = time.time() time_taken = end_time - start_time