[Edu-sig] Speed

DanSV at aol.com DanSV at aol.com
Tue Aug 5 21:27:22 EDT 2003


I am trying to pipe input/output(out&error)
from a subprogram to a textbox.

I am using the wxWindows for the piping(wxProcess),
and onIdle in wxFrame for monitoring the process.

I then add text to the wxStyledTextControl I am using
for the prompt.

This fails to catch all of the output of the program.
If there is a lot of output, or it is sent too quickly,
it will be missed.
This sync problem becomes even worse if I attempt to
use threads instead of the onIdle method.

What should I do?  Try a different piping method?
Some alternative to onIdle?
Drop python and move to c++?(Shudder)

Thanks,

Daniel



More information about the Edu-sig mailing list