how to use "maxima --batch" *reliably* ??



On Wed, Feb 27, 2008 at 4:52 PM, Oliver Kullmann <O.Kullmann at swansea.ac.uk>
wrote:

>
>
> Thanks Richard and Stavros for pointing out problems, but it seems that
> in my case those aren't show-stoppers:
>
> 1) "Maxima often asks questions in the middle of a calculation (e.g. Is
>    x>0?)."
>
> I don't know what happens in batch-mode, but if it stops execution, fine,
> then
> the person running the automatic test will become aware of the problem,
> or otherwise hopefully my assert will trigger.
>


Maxima hangs and the process sits on the server. I use the timeout scritp
which kill maxima after 5 seconds:
http://www.shelldorado.com/scripts/cmds/timeout


Robert Marik