Clear Buffer

Jumjum
Jumjum Member
edited July 16, 2021 in TeamSite #1
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

Comments

TeamSite Developer Resources

  • Docker Automation

  • LiveSite Content Services (LSCS) REST API

  • Single Page Application (SPA) Modules

  • TeamSite Add-ons

If you are interested in gaining full access to the content, you can register for a My Support account here.
image
OpenText CE Products
TeamSite
APIs