I'm sure it's possible, but how would you go about making a Tk script where you can direct the standard output and error output to a text widget?
I checked out this Google search to find an answer:
Google Search Option: "tcl tk 8.5 build your own console"