Will Robertson wrote:
>
> Is there any way to "flush" the console buffer before the
> very-slow-operation begins?
No, but you can split your print statements: use the
'standard' lua function io.write(..) for the console
and texio.write_nl('log', ...) for the log file.
Best wishes,
Taco