Hi ,
Is there any way to list all the processes currently running in Cocoa.I am developing an application in cocoa,which needs to check whether that application is already running or not before launching..Looking for a solution.....
Hi ,
Is there any way to list all the processes currently running in Cocoa.I am developing an application in cocoa,which needs to check whether that application is already running or not before launching..Looking for a solution.....
Hi, Apple have a documented route, using some Carbon API. That's QA1123. There's also libproc, which is less well-documented but is part of libSystem.
What exactly do you mean by "all processes"? If you just want to know what applications are running in the user's session, NSWorkspace's launchedApplications is the easiest solution.