(self, timeout=None)
Poll the running process to update the output streams and the status.

        :param timeout: Override the default WSMan timeout when polling the
        pipeline.
Poll the running process to update the output streams and the status.
Poll the running process to update the output streams and the status .
def poll_invoke(self, timeout=None):
        """
        Poll the running process to update the output streams and the status.

        :param timeout: Override the default WSMan timeout when polling the
        pipeline.
        """
        try:
            responses = self.runspace_pool._receive(self.id,
                                                    timeout=timeout)
        except WSManFaultError as err:
            # operation timeout needs to be ignored and silently tried
            # again
            if err.code == 2150858793:
                responses = []
            else:
                raise err

        for response in responses:
            if response[0] == MessageType.PIPELINE_OUTPUT:
                self.output.append(response[1].data.data)
def poll_invoke ( self , timeout = None ) : try : responses = self . runspace_pool . _receive ( self . id , timeout = timeout ) except WSManFaultError as err : # operation timeout needs to be ignored and silently tried # again if err . code == 2150858793 : responses = [ ] else : raise err for response in responses : if response [ 0 ] == MessageType . PIPELINE_OUTPUT : self . output . append ( response [ 1 ] . data . data )