1
0
Эх сурвалжийг харах

Do not wait for exec output when using detached mode

Signed-off-by: Joffrey F <[email protected]>
Joffrey F 8 жил өмнө
parent
commit
1bd9083de6
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()