Skip to content

Idea: Remove go-ps dependency #94

@martialblog

Description

@martialblog

Right now we are importing go-ps for just one reason, finding out if we run in the delve debugger.

	if parent, err := ps.FindProcess(ppid); err == nil {
		if parent.Executable() == "dlv" {

I do like to minimize dependencies as much as possible. Do we want to remove that piece of code or comment it out?

If I really really need to run delve, I can still enable it for debugging only. No need to ask the users to import it as a dependency

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions