On Fri, Mar 2, 2012 at 9:39 AM, Darrell Anderson <humanreadable@...> wrote: >> > What is an appropriate way in TDE/Qt to query the >> > process list to determine whether an app is running? > >> From the command line the ps command, >> with the correct arguments, pipped to grep with name of the process as greps argument >> should work for any version of Linux. >> >> If you want to use the trinity GUI then ksysguard, using the >> "Process Table" tab and putting the process name in the search bar >> will show you nothing if it is not running and lots of info if it is. > > No, no, in TDE/(T)Qt3 --- not the command line. :) > > That is, the appropriate C++ method for determing whether an app is running. > I suppose you should look at ksysguard sources.