go-ps
go-ps copied to clipboard
Path() failed with os.PathError if the executable is already deleted
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.