[Tcl Java] more on redirecting stdin/stdout

1999-11-17 Thread Thomas McKay

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 framework
to "catch" this output and compare it to what is expected.  Now since the
commands are effectively calling puts rather than returning a result, is
there any standard way in Jacl (Tcl) to trap this?

The one thought I had is to write a special command that forces stdin/stderr
to a string which is then returned.  Maybe eval can already do this?

---
Thomas McKay

Project Leader
Microcosm Technologies, Inc.
mailto:[EMAIL PROTECTED]


The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:send mail to [EMAIL PROTECTED]  
 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 



[Tcl Java] Re: [Tcl Java] redirecting jacl channels

1999-11-17 Thread Moses DeJong

The mailing list archive is located here.

http://www.mail-archive.com/tcljava@scriptics.com

Mo DeJong

On Wed, 17 Nov 1999, Thomas McKay wrote:

> There was a note posted a while ago on how to redirect stdout and stderr in
> Jacl.  I thought I had saved it...  Is there an archive of this list?  Can
> someone forward me a copy if they have it?


The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:send mail to [EMAIL PROTECTED]  
 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 



[Tcl Java] redirecting jacl channels

1999-11-17 Thread Thomas McKay

There was a note posted a while ago on how to redirect stdout and stderr in
Jacl.  I thought I had saved it...  Is there an archive of this list?  Can
someone forward me a copy if they have it?

---
Thomas McKay

Project Leader
Microcosm Technologies, Inc.
mailto:[EMAIL PROTECTED]


The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:send mail to [EMAIL PROTECTED]  
 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.