From d2f25933af662bfa168b9d510444b95ab1fa976d Mon Sep 17 00:00:00 2001 From: Danct12 Date: Sun, 12 Sep 2021 21:25:06 +0700 Subject: [PATCH] tools: fix shell path env --- tools/helpers/lxc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/helpers/lxc.py b/tools/helpers/lxc.py index 6e6398c..5e7b310 100644 --- a/tools/helpers/lxc.py +++ b/tools/helpers/lxc.py @@ -258,7 +258,7 @@ def shell(args): command.append(args.COMMAND) else: command.append("/system/bin/sh") - subprocess.run(command) + subprocess.run(command, env={"PATH": os.environ['PATH'] + "/system/bin:/vendor/bin"}) def logcat(args): if status(args) != "RUNNING": -- 2.47.3