Fix missing tty parameter.

This commit is contained in:
Thomas E Lackey 2023-11-15 22:01:21 -06:00
parent 1e9d24a8ce
commit 91c53abc75

View File

@ -155,7 +155,7 @@ def exec_operation(ctx, extra_args):
if global_context.verbose:
print(f"Running compose exec {service_name} {command_to_exec}")
try:
ctx.obj.deployer.execute(service_name, command_to_exec, envs=container_exec_env)
ctx.obj.deployer.execute(service_name, command_to_exec, envs=container_exec_env, tty=True)
except DeployerException:
print("container command returned error exit status")