def _run_process(self, args):
proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdoutBin = proc.stdout.read()
stderrBin = proc.stderr.read()
proc.stdout.close()
proc.stderr.close()
proc.wait()
self._toolResult['retcode'] = proc.returncode
self._toolResult['stdout'] = stdoutBin.decode('ascii')
self._toolResult['stderr'] = stderrBin.decode('ascii')