Skip to content

Commit b7abaa6

Browse files
authored
fix: rollback shell=True for both windows and linux compatibility (#53)
1 parent 31f5a84 commit b7abaa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android_unpinner/vendor/platform_tools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def adb(cmd: str) -> subprocess.CompletedProcess[str]:
2323
full_cmd = f"{base} {cmd}"
2424
try:
2525
proc = subprocess.run(
26-
full_cmd, shell=False, check=True, capture_output=True, text=True
26+
full_cmd, shell=True, check=True, capture_output=True, text=True
2727
)
2828
except subprocess.CalledProcessError as e:
2929
logging.debug(f"cmd='{full_cmd}'\n" f"{e.stdout=}\n" f"{e.stderr=}")

0 commit comments

Comments
 (0)