[Interest] Windows Process Duration
Adnan RIHAN
axel50397 at gmail.com
Tue Jan 21 23:22:57 CET 2014
You can check if a process is running by killing the PID with the SIGNAL 0 (zero) and checking the return of kill(1) (http://linux.die.net/man/1/kill).
I hope it’s useful for you, as your question was about checking an « exe » and not a PID.
--
Regards, Adnan RIHAN.
Le mardi 21 janvier 2014 à 21:08, Jason Kretzer a écrit :
> Is there a Qt way of getting a handle for a running windows process(or just checking if a certain .exe is currently executing) and determining how long it has been running?
>
> -Jason
>
> - - - - - - - - - - - - - - - - - - - - - - -
> Jason R. Kretzer
>
> Application Developer
> Google # 606-887-9011
> Cell # 606-792-0079
> Jason at gocodigo.com (mailto:Jason at gocodigo.com)
>
> “quidquid latine dictum sit altum videtur”
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org (mailto:Interest at qt-project.org)
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 13452 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140121/06e5611a/attachment.png>
More information about the Interest
mailing list