Re: [tcljava-user] Jacl documentation
Brought to you by:
mdejong
From: James G. <jg...@mo...> - 2006-11-27 17:01:46
|
Hi Wei Dai, A simple approach, would be to change the System.out and System.err PrintStream objects through the static methods System.setOut and System.setErr respectively. This will allow you to provide a console log for your entire application. Regards, James Graham > Message: 1 > Date: Sat, 25 Nov 2006 08:31:30 -0800 > From: "Wei Dai" <wd...@fn...> > Subject: Re: [tcljava-user] Jacl documentation > To: "A list for users of tcljava" <tcl...@li...> > Message-ID: <619...@ff...> > Content-Type: text/plain; charset="us-ascii" > > I am not planning to manipulate them; all I want is to be able to > retrieve them since we wanted to provide a console log that display what > user would see if they run tclsh directly. So if puts commands result > only comes from the STDOUT, I need to a way to get it. Same for the > STDERR, it seems to me that Interp.getResults can provide error message > in the error case, but is it the same message that I would get from > STDERR? > > Thanks and Happy Holidays :) > |