]> glassweightruler.freedombox.rocks Git - waydroid.git/blobdiff - tools/helpers/lxc.py
tools: fix shell path env
[waydroid.git] / tools / helpers / lxc.py
index 6e6398c85b3ab18111730799f64a9ac7a8ef0616..5e7b31078900c472d7bef94fccd54c3a4b469e4e 100644 (file)
@@ -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":