PDA

View Full Version : Check wheter a process is running



Lele
15th June 2006, 12:24
Hi all,
is there a way to check if a process (in my case an exe) is already running before launching it using a QProcess?
Or is there a way in Qt to have an executable as a singleton (one only running process)?
thanks in advance
Bye

munna
15th June 2006, 12:35
If you are a customer then you can use QtSingleApplication (http://www.trolltech.com/products/qt/addon/solutions/catalog/4/Utilities/qtsingleapplication/)

This (http://lists.trolltech.com/qt-interest/2005-02/thread00717-0.html) might help