<s> import process <EOL> from properties import * <EOL> from coreutils import * <EOL> class JavaProcess ( process . LocalProcess ) : <EOL> '''<STR_LIT>''' <EOL> def __init__ ( self , * args , ** kargs ) : <EOL> '''<STR_LIT>''' <EOL> super ( JavaProcess , self ) . __init__ ( * args , ** kargs ) <EOL> self . config = Properties ( ) <EOL> def execute ( self ) : <EOL> '''<STR_LIT>''' <EOL> cp_args = [ '<STR_LIT>' , '<STR_LIT::>' . join ( self . config . classpath ) ] if self . config . classpath is not None else [ ] <EOL> cmdlist = [ self . prop . java . runner ] + cp_args + [ self . config . main_class ] + self . process_args ( * self . config . args ) <EOL> exec_external ( cmdlist , self . config , self . output ) </s>
