Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant