Commit 7017638b authored by Jonas Kaufmann's avatar Jonas Kaufmann Committed by Antoine Kaufmann
Browse files

don't attach stdin of `Component` to current terminal

otherwise we don't receive CTRL+C in orchestration framework
parent 5c0f0f52
...@@ -120,7 +120,7 @@ class Component(object): ...@@ -120,7 +120,7 @@ class Component(object):
if self.with_stdin: if self.with_stdin:
stdin = asyncio.subprocess.PIPE stdin = asyncio.subprocess.PIPE
else: else:
stdin = None stdin = asyncio.subprocess.DEVNULL
self._proc = await asyncio.create_subprocess_exec( self._proc = await asyncio.create_subprocess_exec(
*self.cmd_parts, *self.cmd_parts,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment