From f275859c6ba3fb30f859c9e2d7d14d3e48b1cbe4 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