GH-4125 workaround for java printing garbage to stdout on bedrock linux
This commit is contained in:
parent
9579231ccc
commit
03d7300732
@ -61,6 +61,10 @@ void JavaChecker::stdoutReady()
|
|||||||
QByteArray data = process->readAllStandardOutput();
|
QByteArray data = process->readAllStandardOutput();
|
||||||
QString added = QString::fromLocal8Bit(data);
|
QString added = QString::fromLocal8Bit(data);
|
||||||
added.remove('\r');
|
added.remove('\r');
|
||||||
|
// NOTE: workaround for GH-4125, where garbage is getting printed into stdout on bedrock linux
|
||||||
|
if (added.contains("/bedrock/strata")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
m_stdout += added;
|
m_stdout += added;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user