'Retrieve the result from the named pipe given as parameter.
This function will return False if the read operation has not
completed yet and we should call this method again to try to retrieve
the result.
:param namedpipe: represents the NamedPipe object from where to
retrieve the result'

def _get_result_namedpipe(self, namedpipe):

    output = ''
    try:
        output = namedpipe.get_read_result()
    except NamedPipeException as e:
        if (e.code not in ovs_winutils.pipe_disconnected_errors):
            raise e
    return output
