On Sep 8, 5:37 pm, Thomas Jansson <[EMAIL PROTECTED]> wrote: > Dear all > > I have tkinkter based frontend to a Fortran based program. I use > subprocess to launch the fortran program as a child process and I wish > to see the output of the fortran program as it is created in the > console. > > The fortran program can take up to 20 minuttes to finish and at the > moment the I will first see any output after the fortran program is > done. How make my function write the output of the process as it > comes?
Sometimes very low technology solutions may be enough. For instance on Unix you could call os.system on something like that: xterm -e "the-fortran-executable|less" Make sure the Fortran executable output is unbuffered. Michele Simionato -- http://mail.python.org/mailman/listinfo/python-list