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
> ja...@gocodigo.com (mailto:ja...@gocodigo.com)
>  
> “quidquid latine dictum sit altum videtur”
>  
>  
>  
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org (mailto:Interest@qt-project.org)
> http://lists.qt-project.org/mailman/listinfo/interest

<<attachment: image001.png>>

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to