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:
Joffrey F 2017-04-17 19:27:20 -07:00 committed by GitHub
commit 702eb4cc92
1 changed files with 1 additions and 1 deletions

View File

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