6295c4ec8f
This issue happens under two conditions 1. Unicode language environment in Windows 2. A python calls 'BaseTools/toolsetup.bat' (In EDKII, edksetup.bat directly in Windows command shell) - 'BuildLoader.py' calls 'BaseTools/toolsetup.bat' in a subprocess - 'BaseTools/toolsetup.bat' calls 'nmake cleanall' - 'cleanall' target runs 'python NmakeSubdirs.py' directly - 'NmakeSubdirs.py' creates multi-threads - The threads create another subprocesses But, one of multi-threads is on deadlock when python handles stdout and stderr in a subprocess pipe only if the output includes unicode chars. Therefore, only stderr will be handled in the pipe same as a single thread call. Signed-off-by: Aiden Park <aiden.park@intel.com> |
||
---|---|---|
.. | ||
C | ||
Python |