Bopytex/bopytex/worker/compile.py

14 lines
318 B
Python

import subprocess
from ..message import SubprocessMessage
def latexmk(args: dict, deps, output):
compile_process = subprocess.Popen(
["latexmk", deps[0]],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
universal_newlines=True
)
return SubprocessMessage(compile_process)