From 1bd9083de670f8402d5a066a1c84025e81bcdf76 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Fri, 14 Apr 2017 15:30:40 -0700 Subject: [PATCH] Do not wait for exec output when using detached mode Signed-off-by: Joffrey F --- compose/cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/cli/main.py b/compose/cli/main.py index 84cae9f53..53ff84f45 100644 --- a/compose/cli/main.py +++ b/compose/cli/main.py @@ -439,7 +439,7 @@ class TopLevelCommand(object): exec_id = container.create_exec(command, **create_exec_options) if detach: - container.start_exec(exec_id, tty=tty) + container.start_exec(exec_id, tty=tty, stream=True) return signals.set_signal_handler_to_shutdown()