Hal E. Fulton wrote:

> Put a STDOUT.sync = true at the top, that should help.
> And an extra puts at the bottom will clean things up
> a little.

That didn't quite do it, but STDOUT.flush in the output thread did work.

Nice to know about this. Thanks!