Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

If the process cannot be found, it is better to return an error. #42

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jgbooks
Copy link

@jgbooks jgbooks commented Jul 17, 2020

If the process cannot be found, it is better to return an error.

@cfergeau
Copy link

cfergeau commented Mar 8, 2021

This is an API breakage, dunno how bad the impact would be on go-ps users.
Windows and macOS would still return nil when the process is not found, so this change would make the API inconsistent on the various OSes.

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

Successfully merging this pull request may close these issues.

3 participants