#NEWLINE# def append( self , program ) : #NEWLINE# #INDENT# proc = Process ( target = start_program , args = ( program . name , ) ) #NEWLINE# self . programs . append ( program ) #NEWLINE# self . processes . append ( proc ) #NEWLINE# if self . stream : #NEWLINE# #INDENT# self . add_log_streams ( program . name , program . data . get ( 'daemon_log' ) ) #NEWLINE# self . add_log_streams ( program . name , program . data . get ( 'stdout' ) ) #NEWLINE# #UNINDENT# proc . start ( )