parameters: (args, cwd=None)
return_statement: return p.wait()
docstring: Opens a subprocess to execute a program and returns its return value.
  
    Args:
      args: A string or a sequence of program arguments. The program to execute is
        the string or the first item in the args sequence.
      cwd: If not None, the subprocess's current directory will be changed to
        |cwd| before it's executed.
docstring_summary: Opens a subprocess to execute a program and returns its return value.
docstring_tokens: Opens a subprocess to execute a program and returns its return value .
function: def RunCmd(args, cwd=None):
    """Opens a subprocess to execute a program and returns its return value.
  
    Args:
      args: A string or a sequence of program arguments. The program to execute is
        the string or the first item in the args sequence.
      cwd: If not None, the subprocess's current directory will be changed to
        |cwd| before it's executed.
    """
    logging.info(str(args) + ' ' + (cwd or ''))
    p = subprocess.Popen(args=args, cwd=cwd)
    return p.wait()
function_tokens: def RunCmd ( args , cwd = None ) : logging . info ( str ( args ) + ' ' + ( cwd or '' ) ) p = subprocess . Popen ( args = args , cwd = cwd ) return p . wait ( )