Skip to content

Commit

Permalink
Merge pull request equinor#632 from pgdr/add-signal-environment-flag
Browse files Browse the repository at this point in the history
Add env variable to skip signal handler setup
  • Loading branch information
jokva authored Jun 27, 2019
2 parents 7abee4f + ab0240a commit b53251e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/ecl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
alternative fails, the loader will try the default load behaviour
before giving up completely.
"""
import os
import os.path
import sys

Expand Down Expand Up @@ -134,7 +135,8 @@ def __init__(self, prototype, bind=True):
from .util.util import EclVersion
from .util.util import updateAbortSignals

updateAbortSignals( )
if not os.getenv('ECL_SKIP_SIGNAL'):
updateAbortSignals( )

def root():
"""
Expand Down

0 comments on commit b53251e

Please sign in to comment.