#!/usr/bin/env python3 from pathlib import Path import subprocess root=Path(__file__).resolve().parents[1] for _ in range(3): subprocess.run(['pdflatex','-interaction=nonstopmode','-halt-on-error', '-jobname=EVE_QELTHA_Final_Manuscript','manuscript.tex'],cwd=root,check=True)