def _GetCommandStdout(proc):
  out = proc.stdout.read()
  sys.stdout.write(out)
  return out
Extract the stored standard error, print it and return it.
dataset/ETHPy150Open ganeti/ganeti/qa/qa_utils.py/_GetCommandStdout