[wxPython] Interfacing wxTextctrl with files and stdoutput of an external program

Hello to all of you,

with the goal to interface the launch of an external program, i've
dealed with everything to give inputs to this program
(os.system("prog.exe" + str(options)...)).

Now i need to interface the outputs of this program into a wxTextCtrl;
concerning the file outputs, i think wxLogMessage(f.read()), with f my
output file, is what i need; my problem comes with the standard output
of this C++ program ( cout>> in the program) that i need to redirect in
my wxTextCtrl.

Tanks in advance for any hint,

P.S:Thanks for the solving of my previous pbm; fix the sash with event
HANDLER or overiding wxSplitterWindow class

Cordialement,

···

--
Nicolas Baurin

Doctorant
Institut de Chimie Organique et Analytique, UPRES-A 6005
http://www.univ-orleans.fr/SCIENCES/ICOA/
Université d'Orléans, BP 6759
45067 ORLEANS Cedex 2, France
Tel: (33+) 2 38 49 45 77

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

Hello nicolas,

Tuesday, October 10, 2000, 12:26:01 PM, you wrote:

[...]

Now i need to interface the outputs of this program into a wxTextCtrl;
concerning the file outputs, i think wxLogMessage(f.read()), with f my
output file, is what i need; my problem comes with the standard output
of this C++ program ( cout>> in the program) that i need to redirect in
my wxTextCtrl.

I think that you should investigate popen2()

···

--
Best regards,
Niki

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users