runtime - Cannot run program "pandoc": error=2, No such file or directory -
i trying use pandoc create pdf .md file in processing sketch using method below:
string[] command = {"pandoc", "-s", "-o", pdfname, "newfilename"}; runtime rt = runtime.getruntime(); process p = rt.exec(command);
(where pdfname
string), getting following error:
java.io.ioexception: cannot run program "pandoc": error=2, no such file or directory
when run pandoc terminal have not problems, not sure going wrong here.