przekierowanie stdout

Pracuję z procedurą w tcl, nad którą nie mam kontroli. W oknie wyjściowym pojawia się wiele gadatliwych informacji, takich jak:

Response:<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring>Item not valid: The specified Standard SIP1 Profile was not found</faultstring><detail><axlError><axlcode>5007</axlcode><axlmessage>Item not valid: The specified Standard SIP1 Profile was not found</axlmessage><request>updatePhone</request></axlError></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

Czy jest jakiś sposób, w jaki mogę przekierować ten stdout do zmiennej? Jestem nowy w tcl i nie wiem, jak mogę to zrobić.

questionAnswers(6)

yourAnswerToTheQuestion