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()