Subject: how to use "maxima --batch" *reliably* ??
From: Robert Dodier
Date: Wed, 27 Feb 2008 15:07:15 -0700
About interactive queries triggered in batch files,
On Wed, Feb 27, 2008 at 12:54 PM, Robert Marik <marik at mendelu.cz> wrote:
> 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
It seems like it should be possible to close the terminal input stream
so that if any read from the terminal is attempted then there would be
a Lisp error. I don't know if that's really possible; depends on the
Lisp implementation for sure.
FWIW
Robert Dodier