Skip to content

Commit

Permalink
Do not wait for exec output when using detached mode
Browse files Browse the repository at this point in the history
Signed-off-by: Joffrey F <[email protected]>
  • Loading branch information
shin- committed Apr 14, 2017
1 parent ae2cc6b commit 1bd9083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def exec_command(self, options):
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()
Expand Down

0 comments on commit 1bd9083

Please sign in to comment.