pipeline fixes

This commit is contained in:
Anthony Stirling
2024-01-18 21:57:41 +00:00
parent 3912f42128
commit 2fa68be36b
9 changed files with 139 additions and 57 deletions

View File

@@ -36,6 +36,10 @@ public class FileToPdf {
} else {
command.add("wkhtmltopdf");
command.add("--enable-local-file-access");
command.add("--load-error-handling");
command.add("ignore");
command.add("--load-media-error-handling");
command.add("ignore");
}
command.add(tempInputFile.toString());
@@ -130,7 +134,6 @@ public class FileToPdf {
command.add("ebook-convert");
command.add(tempInputFile.toString());
command.add(tempOutputFile.toString());
ProcessExecutorResult returnCode =
ProcessExecutor.getInstance(ProcessExecutor.Processes.CALIBRE)
.runCommandWithOutputHandling(command);