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

Offer process termination #58

Open
mcandre opened this issue Mar 24, 2022 · 1 comment
Open

Offer process termination #58

mcandre opened this issue Mar 24, 2022 · 1 comment

Comments

@mcandre
Copy link

mcandre commented Mar 24, 2022

Hi,

I am happy to report that process querying is working well with go-ps.

Could we add a portable Terminate() function to the process interface? This can help developers to cleanup after stuck processes in a platform independent way.

@mcandre
Copy link
Author

mcandre commented Mar 24, 2022

I see that Go standard library's os package provides this functionality.

https://pkg.go.dev/os

Can we please add a Kill() method to the mitchellh Process interface, to match the capabilities of the standard library?

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

No branches or pull requests

1 participant