[Qt-interest] Is there anyways to check if a Process is Alive ?

Aaron Lewis aaron.lewis1989 at gmail.com
Fri Mar 26 09:57:25 CET 2010


Hi,
    I'm working on a Front End,for some reasons i need to check if a 
process is running.

    Does anyone has any ideas ?

    After i checked QProcess documents , looks like it can only check 
the one started by QProcess.
    Anyway i can try to read `pgrep' source file , to seek help , just 
wondering if Qt has some native features.

    P.S.: Don't want to take advantages of /proc filesystem , it's only 
on Linux , won't work well on *BSD system.

    Any ideas will appreciate ;-)

-- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode




More information about the Qt-interest-old mailing list