It looks like you're new here. If you want to get involved, click one of these buttons!
Klayout running in batch mode using -b to run a drc script write output using puts function, the thing is, puts does not write to stdout, it writes to the terminal tty directly; making it impossible for a calling script to read the printed data which might be useful to track progress.
In the included screenshot, how do I suppress the green output, and how do I make the white output written to stdout instead of tty.
Comments
Proof of the contrary:
There is no "writing to tty" inside KLayout.
Green text comes from ANSI codes KLayout inserts when connected to a tty. When redirecting to a file no such thing happens.
Matthias