Hi,

I am running the below process in my application

Qt Code:
  1. QProcess *myProcess = new QProcess(this);
  2. myProcess->start("/EXEC/Unlock");
  3. myProcess->waitForFinished();
  4. //qDebug() << "Unlock Output:" << myProcess->readAll();
  5. qDebug() << "Unlock Output:\n" << myProcess->readAllStandardOutput();
  6. QByteArray newData=myProcess->readAllStandardOutput();
  7. qDebug() << "Unlock Output:" << newData;
To copy to clipboard, switch view to plain text mode 

But the output i read from the read using all the above methods gives empty string.

Help me


In my Process application I will put the below output in console:

Qt Code:
  1. qDebug() << "FileName Output:" << fileName;
To copy to clipboard, switch view to plain text mode