Open ajmas opened 8 years ago
Hi Andre,
I've made a workaround in commit 30e6dd97fae4b7f64f8e20fa87bdf9b3eb1b179c. I hope that it fixes the specific problem you mentioned. (Unfortunately, I do not have a Mac that I could use for testing.)
Thanks I'll take a look when I have a few moments. I appreciate the limitations you have in testing and accept that Linux is going to be your main focus.
Allow OpenWebRX to run on MacOS X. Currently the main blocker is the get_cpu_usage() function which is Linux specific. Just return -1 if '/proc/stat' is not found?
An alternative would be to make use of https://pypi.python.org/pypi/psutil ?