Skip to content

Commit

Permalink
boto#1348 - map subprocess stderr to caller stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
bwalding committed Dec 23, 2017
1 parent 8424744 commit 96cb0db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion botocore/credentials.py
Original file line number Diff line number Diff line change
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

0 comments on commit 96cb0db

Please sign in to comment.