Closed Minabsapi closed 2 years ago
Working fine for me. Are you using sudo
from tsu
package? If yes, then remove it with apt remove tsu
and try latest version of this sudo
instead and check if it works.
Seems like some environmental issue.
I was indeed using sudo
from the tsu
package. Removed and replaced it with your version, everything works correctly now. Thank you!
Great, welcome.
tsu
maintainers (@cswl) should look into this though. Possibly an issue should be opened in the repo.
That's right, I will report that there
Problem description
Upon launching a script through the Termux:Widget module, the script fails and the device starts hanging, apparently due to a memory leak That script when launched directly through Termux doesn't trigger any issue
Steps to reproduce
Toggle ADB
Its effect is to toggle device's ADB Daemon on / off according to its state.
Start it from Termux (not shortcut) to see for yourself this works as intended (if rooted).
Create a new shortcut targeting it
Expected behavior
Should work as it would when launched directly through the Termux app
Actual behavior
stop
will fail, and the device will start to hang a few seconds afterScreenshot
Additional information