third_party/android_deps/fetch_all.py
def RunCommandAndGetOutput(args):
    """Run a new shell command. Return its output. Exception on failure.

  This function runs without printing anything.

  Args:
    args: A string or a list of strings for the shell command.
  Returns:
    The command's output.
  Raises:
    On failure, raise an Exception that contains the command's arguments,
    return status, and standard output, and standard error as separate
    messages.
  """
    logging.debug('Run %s', args)
    p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    pout, perr = p.communicate()
    if p.returncode != 0:
        RaiseCommandException(args, p.returncode, pout, perr)
    return pout
Run a new shell command. Return its output. Exception on failure.

  This function runs without printing anything.

  Args:
    args: A string or a list of strings for the shell command.
  Returns:
    The command's output.
  Raises:
    On failure, raise an Exception that contains the command's arguments,
    return status, and standard output, and standard error as separate
    messages.
  
Run a new shell command. Return its output. Exception on failure.
This function runs without printing anything.

A string or a list of strings for the shell command.
Returns:
The command's output.
Raises:
On failure, raise an Exception that contains the command's arguments,
return status, and standard output, and standard error as separate
messages.
Run a new shell command . Return its output . Exception on failure . This function runs without printing anything . A string or a list of strings for the shell command . Returns : The command ' s output . Raises : On failure raise an Exception that contains the command ' s arguments return status and standard output and standard error as separate messages .
def RunCommandAndGetOutput(args):
    logging.debug('Run %s', args)
    p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    pout, perr = p.communicate()
    if p.returncode != 0:
        RaiseCommandException(args, p.returncode, pout, perr)
    return pout
def RunCommandAndGetOutput ( args ) : logging . debug ( 'Run %s' , args ) p = subprocess . Popen ( args , stdout = subprocess . PIPE , stderr = subprocess . PIPE ) pout , perr = p . communicate ( ) if p . returncode != 0 : RaiseCommandException ( args , p . returncode , pout , perr ) return pout
Run a new shell command.
Run a new shell command .
"""Run a new shell command. Return its output. Exception on failure.

  This function runs without printing anything.

  Args:
    args: A string or a list of strings for the shell command.
  Returns:
    The command's output.
  Raises:
    On failure, raise an Exception that contains the command's arguments,
    return status, and standard output, and standard error as separate
    messages.
  """
args