process-watcher
process-watcher copied to clipboard
Proc not available on macOS – consider psutil
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.
@jrmedd Thanks, I haven't worked on this project in a long time, if you're interested in maintaining it I could transfer it to you.