QProcess, Application found in cache
I'm trying to use QProcess to start 7zip and unpack some files but evertime I get an error Application found in cache. I am using windows 8.
What am I doing wrong?
There is a code:
@ QStringList args;
args << "e" << "-y" << ("-o" + QDir::tempPath()+"/tmp.txt") << packedFilePath;
QProcess p7zip; QString p7zipPath = QDir::toNativeSeparators("C:/Program\ Files/7-Zip/7z.exe"); p7zip.start(p7zipPath, args); p7zip.waitForFinished(5000); qDebug()<<p7zip.errorString();@
and the output:
@Application "??\C:\Program Files\7-Zip\7z.exe" found in cache
"Nieznany blad" ["Unknown error"]@
I tried and it works. Can you check the path and arguments correctly ?
I am sure the paths are correct and with wrong path to 7zip there is an error "no such file or directory"
I think the problem may be related to administrator permission but I am not sure. Its first time I use windows 8 so maybe something changed