added flag to pdflatex command to fix endless loading bug

This commit is contained in:
s5260822 2025-03-22 21:20:20 +01:00
parent 116a681ca9
commit 704d71dd75

View file

@ -66,7 +66,7 @@ public class TeXUtil {
}
// Run pdflatex to generate the .pdf file
String command = "pdflatex -output-directory=" + tempDir.getAbsolutePath() + " " + texFile.getAbsolutePath();
String command = "pdflatex -interaction=nonstopmode -output-directory=" + tempDir.getAbsolutePath() + " " + texFile.getAbsolutePath();
Process process = Runtime.getRuntime().exec(command);