in att_doc_retriever_sample/py/att_doc_retriever_sample.py [0:0]
def server_handler(args):
server = vs.VsockListener()
server.bind(args.port)
# Execute binary and send the output to client
proc = sp.Popen([RS_BINARY], stdout=sp.PIPE)
out, err = proc.communicate()
server.send_data(out)