go-ps icon indicating copy to clipboard operation
go-ps copied to clipboard

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

Open jgbooks opened this issue 5 years ago • 1 comments

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

jgbooks avatar Jul 17 '20 10:07 jgbooks

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.

cfergeau avatar Mar 08 '21 13:03 cfergeau