> From: discuss-bounces+blu=nedharvey.com at blu.org [mailto:discuss- > bounces+blu=nedharvey.com at blu.org] On Behalf Of Edward Ned Harvey > If it were a python script, I would just do this: #!/usr/bin/python -u The -u means: Force stdin, stdout and stderr to be totally unbuffered.