mirror of https://github.com/eyhc1/rendercv.git
debug windows tests
This commit is contained in:
parent
e590901120
commit
992e72ba93
|
@ -364,6 +364,7 @@ def run_latex(latex_file_path):
|
||||||
continue
|
continue
|
||||||
# remove the file:
|
# remove the file:
|
||||||
os.remove(os.path.join(os.path.dirname(latex_file_path), file))
|
os.remove(os.path.join(os.path.dirname(latex_file_path), file))
|
||||||
|
|
||||||
if os.name == "nt":
|
if os.name == "nt":
|
||||||
tinytex_path = os.path.join(
|
tinytex_path = os.path.join(
|
||||||
os.path.dirname(__file__),
|
os.path.dirname(__file__),
|
||||||
|
@ -390,7 +391,7 @@ def run_latex(latex_file_path):
|
||||||
f"{latex_file}",
|
f"{latex_file}",
|
||||||
],
|
],
|
||||||
cwd=os.path.dirname(latex_file_path),
|
cwd=os.path.dirname(latex_file_path),
|
||||||
stdout=subprocess.DEVNULL, # suppress latexmk output
|
# stdout=subprocess.DEVNULL, # suppress latexmk output
|
||||||
)
|
)
|
||||||
end_time = time.time()
|
end_time = time.time()
|
||||||
time_taken = end_time - start_time
|
time_taken = end_time - start_time
|
||||||
|
|
Loading…
Reference in New Issue