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