Cocoa MacOS. I am starting a proccess but the .isRunning feature doesn't seem to work for me. The proccess can fail and .isRunning will still return true in multiple cases. Is there any way to get other data about the proccess that can help me determine if it is active or not? The proccess is a cryptominer, so its cpu intensive. If i could return the cpu usage of the proccess, I could determine if it is running or not. Does anyone know how I might do this? Thanks so mcuh for your time!
How do I know if a process is running?
Add a Comment