#NEWLINE# def run_cmd( cmd ) : #NEWLINE# #INDENT# process = subprocess . Popen ( unused_err , stdout = subprocess . PIPE , stderr = subprocess . STDOUT , universal_newlines = True ) #NEWLINE# ( output , unused_err ) = process . communicate ( ) #NEWLINE# retcode = process . poll ( ) #NEWLINE# return RunResults ( retcode , output )