Okay, I found the archive at
http://www.mail-archive.com/tcljava@scriptics.com/ .
Here's what I'm trying to do... Some of my custom command extensions to
Jacl generate textual output. Now right now they simply print it in a
console area of my application. My goal is to use the Jacl test framew
To: [EMAIL PROTECTED]
> > Cc: Jacl
> > Subject: [Tcl Java] Re: [Tcl Java] more on redirecting stdin/stdout
> >
> >
> > Instead of doing puts, you should use the setResult() method.
> >
> > e.g.
> >
> > interp.setResult( "Result of the command
hough.
> -Original Message-
> From: Shawn Boyce [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 18, 1999 8:06 AM
> To: [EMAIL PROTECTED]
> Cc: Jacl
> Subject: [Tcl Java] Re: [Tcl Java] more on redirecting stdin/stdout
>
>
> Instead of doing puts, you should use
Instead of doing puts, you should use the setResult() method.
e.g.
interp.setResult( "Result of the command" );
The Jacl interpreter will then write the string to the console.
You can also save the output of the command like this:
set ret [my_custom_cmd arg1 arg2]
if { $ret == "expected result