#NEWLINE# def _test_runtime( self , cmdlist ) : #NEWLINE# #INDENT# process = subprocess . Popen ( cmdlist , stdin = subprocess . PIPE , stdout = subprocess . PIPE , stderr = subprocess . STDOUT , close_fds = True ) #NEWLINE# ( stdout , stderr ) = process . communicate ( ) #NEWLINE# retcode = process . poll ( ) #NEWLINE# return ( retcode , stdout . decode ( 'utf-8' ) )