You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my machine, this will print Sigterm failed Command '['python', 'b.py']' timed out after 1.0 seconds. Exception is an instance of subprocess.TimeoutExpired. By debugging a bit I see that this piece of code is where the exception initially appears. And since psutil.TimeoutExpired and subprocess.TimeoutExpired are different, it doesn't get caught.
I'm sure I'm doing something wrong as the example in the documentation is using a higher timeout, but I can't see the problem.
The text was updated successfully, but these errors were encountered:
Summary
Description
The bug can be reproduced by creating these two files and running
python a.py
:a.py:
b.py
On my machine, this will print
Sigterm failed Command '['python', 'b.py']' timed out after 1.0 seconds
. Exception is an instance ofsubprocess.TimeoutExpired
. By debugging a bit I see that this piece of code is where the exception initially appears. And sincepsutil.TimeoutExpired
andsubprocess.TimeoutExpired
are different, it doesn't get caught.I'm sure I'm doing something wrong as the example in the documentation is using a higher timeout, but I can't see the problem.
The text was updated successfully, but these errors were encountered: