#NEWLINE# def _spawn( self , distribution , executor = None , * args , **kwargs ) : #NEWLINE# #INDENT# 'Returns a processhandler to a process executing java.\n\n    :param Executor executor: the java subprocess executor to use. If not specified, construct\n      using the distribution.\n    :param Distribution distribution: The JDK or JRE installed.\n    :rtype: ProcessHandler\n    ' #NEWLINE# actual_executor = ( executor or SubprocessExecutor ( distribution ) ) #NEWLINE# return distribution . execute_java_async ( * args , executor = actual_executor , ** kwargs )