#NEWLINE# def _on_process_stdout_ready( self ) : #NEWLINE# #INDENT# ' Logs process output ' #NEWLINE# if ( not self ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# o = self . readAllStandardOutput ( ) #NEWLINE# try : #NEWLINE# #INDENT# output = bytes ( o ) . decode ( output . _encoding ) #NEWLINE# #UNINDENT# except TypeError : #NEWLINE# #INDENT# output = bytes ( o . data ( ) ) . decode ( self . _encoding ) #NEWLINE# #UNINDENT# for line in output . splitlines ( ) : #NEWLINE# #INDENT# self . _srv_logger . log ( 1 , line )