From 900ad360c2e4596648b808670f22fd75e329a33d Mon Sep 17 00:00:00 2001
From: Thorsten Vitt <thorsten.vitt@uni-wuerzburg.de>
Date: Mon, 14 Jan 2013 11:58:02 +0000
Subject: [PATCH] Switched LaTeX interaction mode to batchmode.

We don't read the output anyway, and too long output had caused the process
to hang under certain conditions.

git-svn-id: https://develop.sub.uni-goettingen.de/repos/textgrid/trunk/services/aggregator@13731 7c539038-3410-0410-b1ec-0f2a7bf1c452
---
 src/main/java/info/textgrid/services/aggregator/pdf/PDF.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/info/textgrid/services/aggregator/pdf/PDF.java b/src/main/java/info/textgrid/services/aggregator/pdf/PDF.java
index eeb69d2..f84d266 100644
--- a/src/main/java/info/textgrid/services/aggregator/pdf/PDF.java
+++ b/src/main/java/info/textgrid/services/aggregator/pdf/PDF.java
@@ -139,7 +139,7 @@ else if (format.equals("application/pdf"))
 
 			final Process latexProcess = Runtime
 					.getRuntime()
-					.exec("pdflatex -no-shell-escape -interaction nonstopmode data.tex",
+					.exec("pdflatex -no-shell-escape -interaction batchmode data.tex",
 							null, workingDir);
 			if (latexProcess.waitFor() != 0) {
 				final File logFile = new File(workingDir, "data.log");
-- 
GitLab