PDA

View Full Version : QProcess to Start App



ManuMies
29th May 2009, 10:41
In windows environment, when I'm using QProcess to start up application detatched, is there anyway to check what applications there are already running to see if my app is there already?

wagmare
29th May 2009, 11:25
sorry but can u state something more .. to understand more about ur problem ..

any way ... if you want to check your QProcess that started by you

if your QProcess is procc then ..

(procc->state() == QProcess::Running) will return TRUE ....

ManuMies
29th May 2009, 11:58
But QProcess::startDetached(...) is static and doesn't return anything else, but success. :(

I guess there is no direct way to check, if XXX named application exists already running in system...