mirror of https://github.com/docker/compose.git
Merge pull request #4737 from shin-/4690-exec_detach_fix
Do not wait for exec output when using detached mode
This commit is contained in:
commit
702eb4cc92
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue