Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Detect if a process is running

Name: Anonymous 2007-04-26 0:41 ID:BFlCOmid

How do you detect if a process is running by its name in Windows? In other words be able to input "program.exe" into a function and have it say if it is running.

Preferably in C++, but alternate languages are ok.

Name: Anonymous 2007-04-26 17:32 ID:D2Y5oeJV

Hey, I've done this! In Python, no less! Let me dig up some code.

Aww fuck it, I replaced it with code to list the cpu and memory usage of a given process, and I can't be assed to pick the right revision from svn...

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List