[EMAIL PROTECTED] wrote: if __name__ == '__main__': child = subprocess.Popen( ['python', 'echo.py'],Try adding "-u" as an option to Python - this will force Python to reopen stdout etc as unbuffered (ie, the problem is the client is buffering)Mark That is exactly the problem, but how can I get the text which the buffering client prints to the screen? The C++ Code looks like: printf ("1. Run Static Tests contained in Sections 5 through 9.\n"); printf ("2. Run Dynamic Tests contained in Sections 10 through 11.\n\n"); printf ("Enter choice (1 or 2): "); scanf ("%d", &nTestChoice); If I use the program manually the stdout is displayed on the screen. A solution would be to change the program, but I don't have the possibility to change it. Is there an other way? Tschau, Frank |
_______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32