third_party/closure_compiler/compiler.py
def run_jar(self, jar, args):
    """Runs a .jar from the command line with arguments.

    Args:
      jar: A file path to a .jar file
      args: A list of command line arguments to be passed when running the .jar.

    Return:
      (exit_code, stderr) The exit code of the command (e.g. 0 for success) and
          the stderr collected while running |jar| (as a string).
    """
    shell_command = " ".join(self._JAR_COMMAND + [jar] + args)
    self._log_debug("Running jar: %s" % shell_command)

    devnull = open(os.devnull, "w")
    process = subprocess.Popen(shell_command, universal_newlines=True,
                               shell=True, stdout=devnull,
                               stderr=subprocess.PIPE)
    _, stderr = process.communicate()
    return process.returncode, stderr
Runs a .jar from the command line with arguments.

    Args:
      jar: A file path to a .jar file
      args: A list of command line arguments to be passed when running the .jar.

    Return:
      (exit_code, stderr) The exit code of the command (e.g. 0 for success) and
          the stderr collected while running |jar| (as a string).
    
Runs a .jar from the command line with arguments.
Runs a . jar from the command line with arguments .
def run_jar(self, jar, args):
    shell_command = " ".join(self._JAR_COMMAND + [jar] + args)
    self._log_debug("Running jar: %s" % shell_command)
    devnull = open(os.devnull, "w")
    process = subprocess.Popen(shell_command, universal_newlines=True,
                               shell=True, stdout=devnull,
                               stderr=subprocess.PIPE)
    _, stderr = process.communicate()
    return process.returncode, stderr
def run_jar ( self , jar , args ) : shell_command = " " . join ( self . _JAR_COMMAND + [ jar ] + args ) self . _log_debug ( "Running jar: %s" % shell_command ) devnull = open ( os . devnull , "w" ) process = subprocess . Popen ( shell_command , universal_newlines = True , shell = True , stdout = devnull , stderr = subprocess . PIPE ) _ , stderr = process . communicate ( ) return process . returncode , stderr
Runs a .jar from the command line with arguments.
Runs a . jar from the command line with arguments .
"""Runs a .jar from the command line with arguments.

    Args:
      jar: A file path to a .jar file
      args: A list of command line arguments to be passed when running the .jar.

    Return:
      (exit_code, stderr) The exit code of the command (e.g. 0 for success) and
          the stderr collected while running |jar| (as a string).
    """
self
jar
A file path to a .jar file
A file path to a . jar file
args
A list of command line arguments to be passed when running the .jar.
A list of command line arguments to be passed when running the . jar .