I did this using CreateProcess(), the native win32 call which is exposed in
python as part of the windows extensions.  That way I could kill the child
process since I had a handle to it, my advice, use unix..

Stefan


-----Original Message-----
From: Michael S. Jessop [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 3:23 AM
To: [EMAIL PROTECTED]
Subject: RE: retrieving from standard out from child processes


You could also create a synchronized pipe.  The Python app could create
it, the C++ program could write to it.  Make sure the handler that
accepts the pipe stream updates/refreshes the text edit widget with each
(or every few) update[s].

Mike


_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to