Is there any way to limit pdflatex execution time ?

It would be nice if the value could be added to the texmf file.


1 Answer 1


Using arara: Refer Page 62 Chapter 7 there is an --timeout n flag that terminates the execution of any engine. I think there is no in built flag for pdftex engines I suppose

"This flag sets an execution timeout for every task. If the timeout is reached before the task ends, arara will kill it and interrupt the process- ing. The n value is expressed in milliseconds". From arara User Manual

arara has been integrated with IDE's (Chapter 4 of User Manual) and it's author is Paulo Cereda et al

Ex command line: arara file.tex --log --verbose --timeout 10 for 10 milli second run

  • 4
    Holy cow, I almost forgot arara had this option! :) Damn those authors. Oct 17, 2013 at 23:31
  • 1
    @PauloCereda Credits to the Authors of arara manual that once read it goes directly into head and does not require multiple passes :) Oct 17, 2013 at 23:32
  • 1
    @PauloCereda reading the manual is cheating :)
    – cmhughes
    Oct 17, 2013 at 23:34
  • 2
    @cmhughes: C'mon Chris, I can't even remember what I had for lunch today. :P Oct 17, 2013 at 23:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .