except Exception as X:\r
EdkLogger.error("BPDG", BuildToolError.COMMAND_FAILURE, ExtraData=str(X))\r
(out, error) = PopenObject.communicate()\r
- print(out.decode(encoding='utf-8', errors='ignore'))\r
+ print(out.decode())\r
while PopenObject.returncode is None :\r
PopenObject.wait()\r
\r