forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.12'
Change-Id: Ib95ec2c50c4bbaefd4ed0ec5af191ccc846c824f
This commit is contained in:
@@ -43,7 +43,7 @@ CppcheckRunner::CppcheckRunner(CppcheckTool &tool) :
|
||||
{
|
||||
if (Utils::HostOsInfo::hostOs() == Utils::OsTypeLinux) {
|
||||
QProcess getConf;
|
||||
getConf.start("getconf ARG_MAX");
|
||||
getConf.start("getconf", {"ARG_MAX"});
|
||||
getConf.waitForFinished(2000);
|
||||
const QByteArray argMax = getConf.readAllStandardOutput().replace("\n", "");
|
||||
m_maxArgumentsLength = std::max(argMax.toInt(), m_maxArgumentsLength);
|
||||
|
||||
Reference in New Issue
Block a user