Home
TeamSite
Clear Buffer
Jumjum
I have a script that I want all the outputs to be printed on the screen. The problem I am having is that its being buffered. Has anyone found a way to flush the buffer so that whats read is outputted when a sub routine is ran it outputs only at that time. So more real time outputting.
I have tried doing the following at the top of my scripts and nothing has worked.
$| = 1; AutoFlush the buffer and I have tried
STDOUT->autoflush(1);
Thanks,
Jum
Find more posts tagged with
Comments
Adam Stoller
What is the source of the output you are trying to send to the screen? If it is another program, that other program may be buffering its output.
--fish
(Interwoven Senior Technical Consultant)
Jumjum
I am trying to output the print statements.
For example: print "Compile was succesful. Now deploying <br>";
I have a bunch of them in sub routines.
Thanks,
Jum