def cleanup(self):
        ''' Close the Popen channels.'''
        self.stdin.close()
        self.out.close()
        self.err.close()
        tmp = self.id.wait()
        if tmp:
            self.warn("nonzero exit status: %s" % tmp)
            self.warn("command was: %s" % ((self.args, )))
dataset/ETHPy150Open coreemu/core/daemon/examples/netns/wlanemanetests.py/ClientServerCmd.cleanup/original