Skip to content

Commit 3c46d67

Browse files
authored
AzureCliCredential correctly invokes /bin/sh (#12056)
1 parent 010bc93 commit 3c46d67

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

sdk/identity/azure-identity/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Release History
22

33
## 1.4.0b6 (Unreleased)
4-
4+
- The async `AzureCliCredential` correctly invokes `/bin/sh`
5+
([#12048](https://github.com/Azure/azure-sdk-for-python/issues/12048))
56

67
## 1.4.0b5 (2020-06-12)
78
- Prevent an error on importing `AzureCliCredential` on Windows caused by a bug

sdk/identity/azure-identity/azure/identity/aio/_credentials/azure_cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async def _run_command(command):
6262
if sys.platform.startswith("win"):
6363
args = ("cmd", "/c " + command)
6464
else:
65-
args = ("/bin/sh", "-c " + command)
65+
args = ("/bin/sh", "-c", command)
6666

6767
working_directory = get_safe_working_dir()
6868

0 commit comments

Comments
 (0)