def processEnded(self, reason):
        self._processEnded = True
        if self.onProcessEnd:
            d, self.onProcessEnd = self.onProcessEnd, None
            d.callback(None)
Called by Twisted when the cftp client process ends.
dataset/ETHPy150Open twisted/twisted/twisted/conch/test/test_cftp.py/SFTPTestProcess.processEnded