On Jun 4, 9:56 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Tue, 3 Jun 2008 23:48:38 -0700 (PDT), [EMAIL PROTECTED] declaimed the > following in comp.lang.python: > > > Is there way to configure the stdout buffer size so that it flushes > > earlier.. > > Is there a way to make above mentioned piece code working? > > I believe there is a command line argument that will set Python into > an unbuffered mode... BUT, unless the spawned process/program has some > similar option, you have no control over its output. > -- > Wulfraed Dennis Lee Bieber KD6MOG > [EMAIL PROTECTED] [EMAIL PROTECTED] > HTTP://wlfraed.home.netcom.com/ > (Bestiaria Support Staff: [EMAIL PROTECTED]) > HTTP://www.bestiaria.com/
starting your application with "python -u" sets it to unbuffered binary stdout and stderr, hopefully that helps. -- http://mail.python.org/mailman/listinfo/python-list