Binary01
20th March 2017, 11:17
Hiii Forum
I have to read the output of QProcess with :
readAllStandardOutput();
My code :
if (!process.waitForStarted()) {
qDebug() << "Error : " << process.errorString();
return false;
}
if(process.waitForFinished(-1))
{
qDebug() << ">>> "+process.readAllStandardOutput();
}
The problem is : I can not read all the output
OUTPUT with Qt : Updating 14a89b0..e16c540
OUTPUT with the console :
Why readAllStandardOutput() can not read the rest of the output !
Regards;
I have to read the output of QProcess with :
readAllStandardOutput();
My code :
if (!process.waitForStarted()) {
qDebug() << "Error : " << process.errorString();
return false;
}
if(process.waitForFinished(-1))
{
qDebug() << ">>> "+process.readAllStandardOutput();
}
The problem is : I can not read all the output
OUTPUT with Qt : Updating 14a89b0..e16c540
OUTPUT with the console :
Why readAllStandardOutput() can not read the rest of the output !
Regards;