Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   find out if a program was running (http://www.go4expert.com/forums/program-running-t11606/)

juliaprocess 25Jun2008 01:07

find out if a program was running
 
hello

I would like to have a function that check if a process is running , something like

bool isRunning( string progName);

how do i go about doing it on both linux and windows?

asha 26Jun2008 14:09

Re: find out if a program was running
 
What about the ps command in linux?


All times are GMT +5.5. The time now is 09:39.