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

Timeout vs kill #2

Closed
mxmssh opened this issue Apr 17, 2019 · 2 comments
Closed

Timeout vs kill #2

mxmssh opened this issue Apr 17, 2019 · 2 comments

Comments

@mxmssh
Copy link
Owner

mxmssh commented Apr 17, 2019

Timeout is not the best choice for killing the target process (consider kill).

@mxmssh
Copy link
Owner Author

mxmssh commented Jun 30, 2019

Fixed by introducing watchdog. In Python3 there is an option to do communicate with timeout.

@mxmssh
Copy link
Owner Author

mxmssh commented Jul 17, 2019

We use timeout for process.communicate in Python3 and watchdog with psutils in Python2.

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