Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proc not available on macOS – consider psutil #6

Open
jrmedd opened this issue Oct 20, 2020 · 1 comment
Open

Proc not available on macOS – consider psutil #6

jrmedd opened this issue Oct 20, 2020 · 1 comment

Comments

@jrmedd
Copy link
Contributor

jrmedd commented Oct 20, 2020

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.

@arlowhite
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants