On Mon, 2 Sep 2019, Szabolcs Horvát wrote: > Does Sage have a feature to constrain computation time? Suppose the function > f() takes a long time to run. I am looking for a way to run it *for at most > 5 minutes*.
I think it has. But what if you just use timeout from command line? I.e. timeout $((5*60)) ./sage my_script.sage -- Jori Mäntysalo Tampereen yliopisto - Ihminen ratkaisee -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/alpine.DEB.2.21.9999.1909022106080.83228%40shell.sis.uta.fi.