Skip to content

Commit 5b35248

Browse files
authored
Merge pull request #75 from authorizon/stop_rehydrate_on_shutdown
small bug fix: inline OPA was being rehydrated after responding by itself to keyboard interrupts
2 parents e41ae7a + 01b344a commit 5b35248

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

opal_client/opa/runner.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ async def _run_opa_until_terminated(self) -> int:
109109
self._process = await asyncio.create_subprocess_shell(
110110
self.command,
111111
stdout=asyncio.subprocess.PIPE,
112-
stderr=asyncio.subprocess.PIPE
112+
stderr=asyncio.subprocess.PIPE,
113+
start_new_session=True,
113114
)
114115

115116
# waits until the process is up, then runs a callback

setup/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Project homepage: https://github.com/authorizon/opal
88
"""
99

10-
VERSION = (0, 1, 7)
10+
VERSION = (0, 1, 8)
1111
VERSION_STRING = '.'.join(map(str,VERSION))
1212

1313
__version__ = VERSION_STRING

0 commit comments

Comments
 (0)