def UpdateSNMPObjs():
global threadingString<EOL>LogMsg("<STR_LIT>")<EOL>data = "<STR_LIT>"<EOL>LogMsg("<STR_LIT>")<EOL>proc = subprocess.Popen(<EOL>"<STR_LIT>", shell=True, env={ "<STR_LIT>": "<STR_LIT:C>" },<EOL>stdout=subprocess.PIPE, stderr=subprocess.STDOUT<EOL>)<EOL>output = proc.communicate()[<NUM_LIT:0>].splitlines()[<NUM_LIT:0>]<EOL>rc = proc.poll()<EOL>if rc != <NUM_LIT:0>:<EOL><INDENT>LogMsg("<STR_LIT>".format(output))<EOL>return<EOL><DEDENT>msg = "<STR_LIT>"<EOL>LogMsg(msg.format(output))<EOL>threadingString.update(output)<EOL>LogMsg("<STR_LIT>")<EOL>
Function that does the actual data update.