have a cgi-script which generates a *.tex file based on inputs from the browser. i would like to generate a pdf and download it.
however the command doesnt execute and i get a fail message
if lualatex -interaction batchmode 3.tex then echo"yo" else echo "fail" exit 2 fi
the 3.tex file is perfect and lualtex executes when directly executed from terminal.
i have used this also but could get it too work