

def request_exit_status(self, data):
    'Called when the command running at the other end terminates with an\n        exit status.\n\n        @param data: The ssh message\n\n        byte      SSH_MSG_CHANNEL_REQUEST\n        uint32    recipient channel\n        string    "exit-status"\n        boolean   FALSE\n        uint32    exit_status\n        '
    self._exitCode = int(struct.unpack('>L', data)[0])

dataset/ETHPy150Open sporsh/carnifex/carnifex/ssh/process.py SSHProcess.request_exit_status/original