MPAS-Dev / MPAS-Tools

MPAS Tools Repository
Other
37 stars 63 forks source link

Add an optional timeout to check_call with logging #502

Closed xylar closed 1 year ago

xylar commented 1 year ago

This is useful for killing a process that is hanging, for example in debugging.

xylar commented 1 year ago

Testing

I tested this in compass, where I set timeout=120 to debug a test case that is hanging. As expected, the timeout was reached and the test case was killed with an error message.