Hello:
Within a tcl script, I'm sourcing another tcl script. I'm trying to redirect the output of the sourced tcl script to a file. Here is the code I've written to attempt this:
set fd [open $OutFileName a]
puts $fd [source Master.tcl]
close $fd
OutFileName has been defined eariler in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.