Commit 448627f7 authored by Pamelpreet Jhinger's avatar Pamelpreet Jhinger
Browse files

realised why everythin we tried didn't work so reverted back to simple command

parent fb2a3de4
Pipeline #64992 passed with stages
in 1 minute and 49 seconds
......@@ -38,9 +38,8 @@ public class PDFResultPage implements Page {
File pdf = File.createTempFile(query, ".pdf");
pdf.deleteOnExit();
ProcessBuilder processBuilder =
new ProcessBuilder("/usr/bin/bash", "/usr/bin/pandoc", md.getAbsolutePath(),
"-f", "markdown", "-o", pdf.getAbsolutePath());
ProcessBuilder processBuilder = new ProcessBuilder("pandoc",
md.getAbsolutePath(), "-f", "markdown", "-o", pdf.getAbsolutePath());
try {
Process process = processBuilder.start();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment