Reputation: 3
Not really sure what other information to provide. I'm quite new and attempting to make a basic process checker for good practice/measure. Using native C++ (I think that is what Dev C++ uses? What is that C++ version called by the way?). Anyways, how do I make sure a process, say, string process = "crossfire.exe"; exists?
Upvotes: 0
Views: 46
Reputation: 96167
This is an operating system function - nothing in the language will allow this directly.
On Windows see How to get the current process list in windows
On linux see Linux API to list running processes?
Upvotes: 1