Hi there, I got a piece of code right down here:
fullPath
= QString("E:/bin/fis/wave.exe"));
process->start(fullPath);
if(!process->waitForStarted())
{
qDebug() << process->state();
}
qDebug() << "~" << process->state();
fullPath = QString("E:/bin/fis/wave.exe"));
QProcess *process = new QProcess();
process->start(fullPath);
if(!process->waitForStarted())
{
qDebug() << process->state();
}
qDebug() << "~" << process->state();
To copy to clipboard, switch view to plain text mode
The qDebug() output is:
~ 2
~ 2
To copy to clipboard, switch view to plain text mode
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?
Bookmarks