From 1ccb331f6d7602b01d5e9a1f500b6e6f79518e96 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Thu, 27 May 2021 12:20:47 -0700 Subject: [PATCH] don't use capture_output --- certbot-ci/certbot_integration_tests/utils/certbot_call.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/certbot-ci/certbot_integration_tests/utils/certbot_call.py b/certbot-ci/certbot_integration_tests/utils/certbot_call.py index 32f13ac37..570a02bcb 100755 --- a/certbot-ci/certbot_integration_tests/utils/certbot_call.py +++ b/certbot-ci/certbot_integration_tests/utils/certbot_call.py @@ -31,8 +31,9 @@ def certbot_test(certbot_args, directory_url, http_01_port, tls_alpn_01_port, command, env = _prepare_args_env(certbot_args, directory_url, http_01_port, tls_alpn_01_port, config_dir, workspace, force_renew) - proc = subprocess.run(command, capture_output=True, check=False, - universal_newlines=True, cwd=workspace, env=env) + proc = subprocess.run(command, stdout=subprocess.PIPE, + stderr=subprocess.PIPE, check=False, universal_newlines=True, + cwd=workspace, env=env) print('--> Certbot log output was:') print(proc.stderr) proc.check_returncode()