Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1348 - map subprocess stderr to caller stderr #1349

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion botocore/credentials.py
Expand Up @@ -19,6 +19,7 @@
import threading
import json
import subprocess
import sys
from collections import namedtuple
from copy import deepcopy
from hashlib import sha1
Expand Down Expand Up @@ -792,7 +793,7 @@ def _retrieve_credentials_using(self, credential_process):
process_list = compat_shell_split(credential_process)
p = self._popen(process_list,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
stderr=sys.stderr)
stdout, stderr = p.communicate()
if p.returncode != 0:
raise CredentialRetrievalError(
Expand Down