mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
don't use capture_output
This commit is contained in:
parent
68b0621b19
commit
1ccb331f6d
1 changed files with 3 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue