答复: [edk2-discuss] lost stderr in console
Hi, liming,toggle quoted messageShow quoted text
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
收件人: firstname.lastname@example.org; 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?