def _executeExternalCmdAndReapStdout(args):
_debugOut(("<STR_LIT>") %(args,))<EOL>p = subprocess.Popen(args,<EOL>env=os.environ,<EOL>stdout=subprocess.PIPE,<EOL>stderr=subprocess.PIPE)<EOL>_debugOut(("<STR_LIT>") % (args,))<EOL>(stdoutData, stderrData) = p.communicate()<EOL>_debugOut(("<STR_LIT>" +"<STR_LIT>") %(args, p.returncode, type(stdoutData), stdoutData, stderrData))<EOL>result = dict(<EOL>exitStatus = p.returncode,<EOL>stdoutData = stdoutData,<EOL>stderrData = stderrData,<EOL>)<EOL>_debugOut(("<STR_LIT>") %(args, pprint.pformat(result, indent=<NUM_LIT:4>)))<EOL>return result<EOL>
args:     Args list as defined for the args parameter in subprocess.Popen()

Returns:  result dicionary:
            {
              'exitStatus':<exit-status-of-external-command>,
              'stdoutData':"string",
              'stderrData':"string"
            }