I arrived at this repo via Stack Overflow. While I'm aware it's a good few years old, I figure I'm not the only one who'll land here.
Currently, process-watcher gets its list of pids from /proc. Given that /proc is unavailable on macOS, I'd suggest psutil as as good cross-platform alternative.
Example of its usefulness: psutil.pid_exists(12345)
I've been looking to extend process-watcher with support for Pushover so I may do this myself and submit a pull request, if I find time.
I arrived at this repo via Stack Overflow. While I'm aware it's a good few years old, I figure I'm not the only one who'll land here.
Currently, process-watcher gets its list of pids from
/proc
. Given that/proc
is unavailable on macOS, I'd suggest psutil as as good cross-platform alternative.Example of its usefulness:
psutil.pid_exists(12345)
I've been looking to extend process-watcher with support for Pushover so I may do this myself and submit a pull request, if I find time.
Thanks for sharing.