parameters: (cmdlist)
return_statement: return out.rstrip('\n')
docstring: Returns the content of standard output returned by invoking |cmdlist|.
    Raises |GypError| if the command return with a non-zero return code.
docstring_summary: Returns the content of standard output returned by invoking |cmdlist|.
    Raises |GypError| if the command return with a non-zero return code.
docstring_tokens: Returns the content of standard output returned by invoking |cmdlist| . Raises |GypError| if the command return with a non - zero return code .
function: def GetStdout(cmdlist):
    """Returns the content of standard output returned by invoking |cmdlist|.
    Raises |GypError| if the command return with a non-zero return code."""
    job = subprocess.Popen(cmdlist, stdout=subprocess.PIPE)
    out = job.communicate()[0]
    if job.returncode != 0:
      sys.stderr.write(out + '\n')
      raise GypError('Error %d running %s' % (job.returncode, cmdlist[0]))
    return out.rstrip('\n')
function_tokens: def GetStdout ( cmdlist ) : job = subprocess . Popen ( cmdlist , stdout = subprocess . PIPE ) out = job . communicate ( ) [ 0 ] if job . returncode != 0 : sys . stderr . write ( out + '\n' ) raise GypError ( 'Error %d running %s' % ( job . returncode , cmdlist [ 0 ] ) ) return out . rstrip ( '\n' )