Преглед изворни кода

Merge pull request #4737 from shin-/4690-exec_detach_fix

Do not wait for exec output when using detached mode
Joffrey F пре 8 година
родитељ
комит
702eb4cc92
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      compose/cli/main.py

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