[tcljava-dev] Jacl and stdout channel
Brought to you by:
mdejong
From: Raffaele S. <ra...@ar...> - 2001-12-05 10:03:01
|
Hi, I downloaded the latest sources from CVS and started playing with it. One thing I noticed is the following: - if I run jacl in interactive mode, everything works fine. I can write to standard output with "puts" and get my string printed out. - if I run jacl non interactive (with a script), print to standard output don't... get printed. The problem seems to be a missing flush() somewhere (if I end my script with "flush" the missing messages appear), but I cannot find a good place where to flush the stdout channel. I tried do add a "finally" clause to the try/catch block in Shell.java, but while a simple test worked find, a more complex test didn't. -- Raffaele ----------------------------------------------------- ra...@ar... (::) http://www.aromatic.org/~raff/ When I say artist I mean the man who is building things -- creating molding the earth -- whether it be the plains of the west -- or the iron ore of Penn. It's all a big game of construction -- some with a brush -- some with a shovel -- some choose a pen. Jackson Pollock |