lost stderr in console
Wenyi,toggle quoted messageShow quoted text
As the description in Commit 01b6090b, the change was to fix the incremental build issue in the MSVC toolchain. But now it‘s found that impacts the usage of the GCC toolchain.
Please file a BZ for this issue. And I'll fix it.
From: firstname.lastname@example.org <email@example.com> On Behalf Of wenyi,xie via groups.io
Sent: Thursday, March 25, 2021 10:18 AM
To: gaoliming <gaoliming@...>; firstname.lastname@example.org
Subject: 答复: [edk2-discuss] lost stderr in console
Yes, my command using 2>&1 to redirect strerr to stdout, and after updating to version 202011 the stderr are not shown in the screen but only written in xxx.log.
According to Laszlo's help and checking the commit log, I find the problem relate to this commit:
Proc = MakeSubProc(Command, stdout=PIPE, stderr=STDOUT, env=os.environ, cwd=WorkingDir, bufsize=-1, shell=True)
As the stdout and stderr are combined togetherin since the commit, so in version 201903 my command can work, but in version 202011, after this commit merged, it can't work well.
发件人: gaoliming [mailto:gaoliming@...]
发送时间: 2021年3月25日 9:27
收件人: email@example.com; xiewenyi (A) <xiewenyi2@...>
主题: 回复: [edk2-discuss] lost stderr in console
Do you use build command to build your platform and find the message from stderr are not shown in the screen?