third_party/android_deps/fetch_all.py
def RunCommand(args, print_stdout=False, cwd=None):
    """Run a new shell command.

  This function runs without printing anything.

  Args:
    args: A string or a list of strings for the shell command.
  Raises:
    On failure, raise an Exception that contains the command's arguments,
    return status, and standard output + error merged in a single message.
  """
    logging.debug('Run %s', args)
    stdout = None if print_stdout else subprocess.PIPE
    p = subprocess.Popen(args, stdout=stdout, cwd=cwd)
    pout, _ = p.communicate()
    if p.returncode != 0:
        RaiseCommandException(args, p.returncode, None, pout)
Run a new shell command.

  This function runs without printing anything.

  Args:
    args: A string or a list of strings for the shell command.
  Raises:
    On failure, raise an Exception that contains the command's arguments,
    return status, and standard output + error merged in a single message.
  
Run a new shell command.
This function runs without printing anything.

A string or a list of strings for the shell command.
Raises:
On failure, raise an Exception that contains the command's arguments,
return status, and standard output + error merged in a single message.
Run a new shell command . This function runs without printing anything . A string or a list of strings for the shell command . Raises : On failure raise an Exception that contains the command ' s arguments return status and standard output + error merged in a single message .
def RunCommand(args, print_stdout=False, cwd=None):
    logging.debug('Run %s', args)
    stdout = None if print_stdout else subprocess.PIPE
    p = subprocess.Popen(args, stdout=stdout, cwd=cwd)
    pout, _ = p.communicate()
    if p.returncode != 0:
        RaiseCommandException(args, p.returncode, None, pout)
def RunCommand ( args , print_stdout = False , cwd = None ) : logging . debug ( 'Run %s' , args ) stdout = None if print_stdout else subprocess . PIPE p = subprocess . Popen ( args , stdout = stdout , cwd = cwd ) pout , _ = p . communicate ( ) if p . returncode != 0 : RaiseCommandException ( args , p . returncode , None , pout )
Run a new shell command.
Run a new shell command .
"""Run a new shell command.

  This function runs without printing anything.

  Args:
    args: A string or a list of strings for the shell command.
  Raises:
    On failure, raise an Exception that contains the command's arguments,
    return status, and standard output + error merged in a single message.
  """
args
print_stdout
cwd