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

Path() failed with os.PathError if the executable is already deleted

Open xiaonanln opened this issue 7 years ago • 0 comments

If a process's executable is deleted, calling Path() will return a &os.PathError{}. Should just return the path whether or not the executable is deleted or replaced.

xiaonanln avatar Nov 01 '17 12:11 xiaonanln