QProcess::start() cannot run a excute file while the QProcess::state() is QProcess::R
Hi there, I got a piece of code right down here:
Code:
fullPath
= QString("E:/bin/fis/wave.exe"));
process->start(fullPath);
if(!process->waitForStarted())
{
qDebug() << process->state();
}
qDebug() << "~" << process->state();
The qDebug() output is:
It means running (QProcess::Running equals 2) ,but I cannot see any process called wave running on my computer through Task Manager, neither the GUI. Anybody has suggestions?
Re: QProcess::start() cannot run a excute file while the QProcess::state() is QProces
By the time you are seeing that process would already got into an end.