0
我是初学者到QT。我正在开发QT应用程序。如果它没有在内存中运行,我必须运行一个进程列表。问题是我如何检测一个进程是否已经在内存中运行或者没有。例如,我有一个进程名称abc
比我如何检测它已经运行。我需要的东西就像如何检测一个进程已经在内存中运行QT
QProcess *p = new QProcess();
int status = p->start("check if abc is running or not");
http://stackoverflow.com/questions/10422145/how-to-check-if-a-process-is-running-or-not – Arun
@Arun我搜索它会显示,如果QProcess实例正在运行一个进程,我需要找到进程'abc'是否在内存中运行,其中'abc'是进程名称 – Noor
啊我看到了,可能是这样吗? http://stackoverflow.com/questions/2632594/get-all-running-processes-info-using-qprocess – Arun