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
The os.killpg kills the fm_dispatch process such that the exception e is never raised. If there is a bug in fm_dispatch that triggers an exception, it will not be printed to the terminal. Running fm_dispatch in the runpath only gives you the output Terminated.
It is dangerous to remove the killpg() call as it ensures every descendant is taken down. What about just printing e and then kill? Add an random exception somewhere in fm_dispatch and check the developer experience.
But what about the exit code if we only print the exception? Will it default to 0, or will it be set due by SIGKILL?
EDIT: The exit code is not 0 when we SIGKILL, so it should be fine :)
The
os.killpg
kills the fm_dispatch process such that the exceptione
is never raised. If there is a bug in fm_dispatch that triggers an exception, it will not be printed to the terminal. Runningfm_dispatch
in the runpath only gives you the outputTerminated
.ert/src/_ert/forward_model_runner/fm_dispatch.py
Lines 194 to 199 in 68271ad
The text was updated successfully, but these errors were encountered: