title: How can I suppress the output messages of TCL procedures?
body: <p>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.</p>
  
  <p>So for example I would like to run a procedure like so:</p>
  
  <pre><code>my_proc $arg1 $arg2 $arg3
  </code></pre>
  
  <p>and suppress all it's messages. Any workarounds/ smart alternatives are appreciated.</p>
  
  <p><strong>More info:</strong> 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.</p>
  
  <p>Or even is there any way I can have the output of the script go to a file instead of the command prompt (stdout)?</p>