Bopytex/bopytex/worker/compile.py

13 lines
270 B
Python
Raw Normal View History

2022-04-10 14:27:12 +00:00
import subprocess
def latexmk(args: dict, deps, output):
compile_process = subprocess.Popen(
["latexmk", deps[0]],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
universal_newlines=True
)
yield from compile_process.stderr