[SOLVED]Window Task Manager
-
Hi I have something to list task.
@QProcess x;
x.start("tasklist");
x.waitForStarted(200);
x.waitForReadyRead(200);
x.waitForFinished(200);
QString result( x.readAllStandardOutput() );
if(result.count("myProg.exe",Qt::CaseInsensitive) >=2 )
{
popupMessage(tr("This application is already running !"),2000,this);
QTimer::singleShot(2000, qApp, SLOT(quit()));
}
@But I can kill task I hope that help you.