From: Danct12 Date: Sun, 12 Sep 2021 14:25:06 +0000 (+0700) Subject: tools: fix shell path env X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/f275859c6ba3fb30f859c9e2d7d14d3e48b1cbe4?ds=sidebyside tools: fix shell path env --- 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":