From 57b480e45074eaee4e8c14e86b0be017356f263d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20B=C3=BChmann?= Date: Mon, 8 Sep 2025 10:38:43 +0200 Subject: [PATCH] Silence session-manager-plugin check --- awscli/customizations/ecs/executecommand.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,