Am Samstag 27 August 2011, 21:30:41 schrieb Sieghard:

> That's probabely caused by interleaved output on stdout/stderr.
> The lines that get swapped are output rather fast one after another,
> somewhat like so:
> 
>  stdout: checking dependencies...
>  stdout:
>  stdout: Remove (1): zip-3.0-2
>  stdout:
>  stdout: Total Removed Size:   0,49 MB
>  stdout:
> !stderr: Do you want to remove these packages? [Y/n] ^C
> 
> The line via stderr seems to be inserted erratically, or rather
> _immedately_ after being issued, irrespecting the output state of the
> stdout derived lines. The linux terminal queues them correctly.

True. How to fix? stdout and stderr pipereader both run in an own thread.

Martin
_______________________________________________
MSEide-MSEgui-talk mailing list
MSEide-MSEgui-talk@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/mseide-msegui-talk

Reply via email to