diff --git a/awscli/customizations/ecs/executecommand.py b/awscli/customizations/ecs/executecommand.py index a745c11a9395..8798d6b87da0 100644 --- a/awscli/customizations/ecs/executecommand.py +++ b/awscli/customizations/ecs/executecommand.py @@ -13,7 +13,7 @@ import errno import json import logging -from subprocess import check_call +from subprocess import check_call, DEVNULL from awscli.clidriver import CLIOperationCaller, ServiceOperation from awscli.compat import ignore_user_entered_signals @@ -75,7 +75,7 @@ def invoke(self, service_name, operation_name, parameters, parsed_globals): # before calling execute-command to ensure that # session-manager-plugin is installed # before execute-command-command is made - check_call(["session-manager-plugin"]) + check_call(["session-manager-plugin"], stdout=DEVNULL) client = self._session.create_client( service_name, region_name=parsed_globals.region,