Skip to content

Proc not available on macOS – consider psutil #6

Description

@jrmedd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions