forked from qt-creator/qt-creator
ShellCommand: Apply progress parser also to stderr
It is only used for Rebasing message in Git, which was moved from stdout to stderr on Git 2.12. Change-Id: I761cb7ac4e0d19fc28b323076dd3b0919535ed32 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
d8fda051f9
commit
e20aa431ed
@@ -423,6 +423,8 @@ SynchronousProcessResponse ShellCommand::runSynchronous(const FileName &binary,
|
||||
connect(&process, &Utils::SynchronousProcess::stdErrBuffered,
|
||||
this, [this, proxy](const QString &text)
|
||||
{
|
||||
if (d->m_progressParser)
|
||||
d->m_progressParser->parseProgress(text);
|
||||
if (!(d->m_flags & SuppressStdErr))
|
||||
proxy->appendError(text);
|
||||
if (d->m_progressiveOutput)
|
||||
|
Reference in New Issue
Block a user