In my TCL script I'm using several procedures that I don't have the source for. All these procedures do some tasks and output a lot of messages. But I just want the tasks to be done and I want to suppress the messages. Is there a way to do this.
So for example I would like to run a procedure like so:
my_proc $arg1 $arg2 $arg3
and suppress all it's messages. Any workarounds/ smart alternatives are appreciated.
More info: I'm using a custom shell that takes a TCL file as an argument and runs it. Inside this custom shell I have access to some TCL procedures for which I don't have the code.
Or even is there any way I can have the output of the script go to a file instead of the command prompt (stdout)?
set output [my_proc $args]
? – glenn jackman