[Qt-interest] Is there anyways to check if a Process is Alive ?
Aaron Lewis
aaron.lewis1989 at gmail.com
Fri Mar 26 10:02:18 CET 2010
More Specific for my problem:
I want to search for Process by name on UNIX , kind like a daemon
process (e.g sendmail)
Thanks in advance !
Aaron Lewis wrote:
> 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