On Wed, Feb 20, 2002 at 04:08:27AM +0900, Kero van Gelder wrote:
> >and it works fine for 99% of the time, but every once in a while I'll
> >get output that looks like this:
> >
> >Tue Feb 12 10:43:34 PST 2002    5       155     31
> >Tue FebTue Feb 12 10:44:13 PST 2002     5       200     40             
> >Tue Feb 12 10:44:18 PST 2002    5       220     44
> >
> >Or:
> >Tue Feb 12 10:44:38 PST 2002    5       150     30
> >Tue Feb 1209 PST 2002   5       206     41 
> >Tue Feb 12 10:44:14 PST 2002    5       204     40

How does the program have to be run to get output like that?  I'm unable
to reproduce the problem.

> Some native processes interfere with each other. they fight for the
> same tty, which you gave to them with IO.popen. Ruby uses an internal
> system for threads, which does not really like native threads/processes.

Ruby fights against native threads, but should play nicely with multiple
processes.

Paul