[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible to make the stdout buffer smaller?
From: |
Ted Zlatanov |
Subject: |
Re: Possible to make the stdout buffer smaller? |
Date: |
20 Jun 2005 15:18:27 -0400 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.3.50 (gnu/linux) |
On Fri, 17 Jun 2005, knuta@itea.ntnu.no wrote:
> I am having some problems with cfagent buffering stdout from my scripts
> and printing about 20 lines at a time. This is very annoying when I am
> trying to figure out where in the code my script freezes, since the last
> messages are not printed. Is it possible to make cfagent print each line
> as soon as it is received?
Would printing to STDERR work from your script? I believe STDERR is
autoflushed.
Ted