I've written software which generates rather long PDFs from generated .tex files with pdflatex. On occasion, I'll get broken pipe errors which cause the pdf generation to fail. I have trouble recreating the errors, and the pdf generation will often work if I try it a second time.
I'm already calling pdflatex with
I'm looking for a way to: prevent the broken pipe errors from occurring OR ignore the broken pipe error and continue
Here is the error that I am getting:
 [324 </srv/www/mydomain.com/public_html/crawler/RRnKPFCjyZMKk1nUg/Images/Q BFkqp_thumbnail1063.png !pdfTeX error: pdflatex (file /srv/www/mydomain.com/public_html/crawler/RRnKPFCj yZMKk1nUg/Images/QBFkqp_thumbnail1063.png): fflush() failed (Broken pipe) ==> Fatal error occurred, no output PDF file produced!