mirror of
https://github.com/home-assistant/core.git
synced 2025-06-17 19:47:08 +00:00
Add debug logging for pip install command (#61057)
This commit is contained in:
parent
5bd1139867
commit
ab75efda9a
@ -93,6 +93,7 @@ def install_package(
|
||||
# Workaround for incompatible prefix setting
|
||||
# See http://stackoverflow.com/a/4495175
|
||||
args += ["--prefix="]
|
||||
_LOGGER.debug("Running pip command: args=%s", args)
|
||||
with Popen(args, stdin=PIPE, stdout=PIPE, stderr=PIPE, env=env) as process:
|
||||
_, stderr = process.communicate()
|
||||
if process.returncode != 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user