def close(self):
            try:
                win32file.WriteFile(self.__pipe_handle, struct.pack('I', 0))
                win32file.FlushFileBuffers(self.__pipe_handle)
            finally:
                win32pipe.DisconnectNamedPipe(self.__pipe_handle)
                self.__pipe_handle = None
Appends the system-out and system-err sections to the XML document.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/platform_windows.py/PipeRedirectorServer.ServerChannel.close--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/site-packages/unittest_xml_reporting-1.4.3-py2.5.egg/xmlrunner/__init__.py/_XMLTestResult._report_output