

def execute_java_async(classpath, main, jvm_options=None, args=None, executor=None, workunit_factory=None, workunit_name=None, workunit_labels=None, cwd=None, workunit_log_config=None, distribution=None, create_synthetic_jar=True, synthetic_jar_dir=None):
    "This is just like execute_java except that it returns a ProcessHandler rather than a return code.\n\n\n  If `workunit_factory` is supplied, does so in the context of a workunit.\n\n  :param list classpath: the classpath for the java program\n  :param string main: the fully qualified class name of the java program's entry point\n  :param list jvm_options: an optional sequence of options for the underlying jvm\n  :param list args: an optional sequence of args to pass to the java program\n  :param executor: an optional java executor to use to launch the program; defaults to a subprocess\n    spawn of the default java distribution\n  :param workunit_factory: an optional callable that can produce a workunit context\n  :param string workunit_name: an optional name for the work unit; defaults to the main\n  :param list workunit_labels: an optional sequence of labels for the work unit\n  :param string cwd: optionally set the working directory\n  :param WorkUnit.LogConfig workunit_log_config: an optional tuple of options affecting reporting\n  :param bool create_synthetic_jar: whether to create a synthentic jar that includes the original\n    classpath in its manifest.\n  :param string synthetic_jar_dir: an optional directory to store the synthetic jar, if `None`\n    a temporary directory will be provided and cleaned up upon process exit.\n\n  Returns a ProcessHandler to the java program.\n  Raises `pants.java.Executor.Error` if there was a problem launching java itself.\n  "
    runner = _get_runner(classpath, main, jvm_options, args, executor, cwd, distribution, create_synthetic_jar, distribution)
    workunit_name = (workunit_name or main)
    return execute_runner_async(runner, workunit_factory=workunit_factory, workunit_name=workunit_name, workunit_labels=workunit_labels, workunit_log_config=workunit_log_config)

dataset/ETHPy150Open pantsbuild/pants/src/python/pants/java/util.py execute_java_async/VarMisuse@78/681 `synthetic_jar_dir`->`distribution`