Share the screenshot of the configuration in Termux:Tasker, where it has the executable path, arguments, stdin, etc.
Share the screenshot of the configuration in Termux:Tasker, where it has the executable path, arguments, stdin, etc.
Let's say the script is stored under a local variable calledscript
in MD, then we can pass-s '%script'
as the argument with tudo location as the executable path.
If the script contains'
then the single quote should be replaced (escaped) with'\''
.
'
. The new text should be '\\''
(\ needs to be escaped).This did the trick. Thanks@Dev777 You need to escape ' first and pass the script like below steps.
Use Text Manipulation > Replace All action to replace'
. The new text should be'\\''
(\ needs to be escaped).
8Normally, when using Termux:Tasker, you need to prepare a script and specify a file to use it, but by setting up tudo, you can write code directly in Arguments.
GitHub - agnostic-apollo/tudo: A wrapper script to drop to shells or run shell scripts with termux user context in termux
A wrapper script to drop to shells or run shell scripts with termux user context in termux - GitHub - agnostic-apollo/tudo: A wrapper script to drop to shells or run shell scripts with termux user...github.com
tudo setup
1.pkg install vim
2.pkg install curl
3.curl -L 'https://github.com/agnostic-apollo/tudo/releases/latest/download/tudo' -o "/data/data/com.termux/files/usr/bin/tudo"
site:link
.apt update
and apt upgrade
. I got the same error and that fixed it.termux-setup-storage
so I don't know if the question was for me but here is a very pictorial answer capture tudo file authorization, Android termux authorization, modified file ~/.termux/termux.properties, macrodroid log,... I hope this will be useful I am Android 11 root on this xiaomi mt 10 pro smartphone test results: negative in all tests the variables remain empty I tested with echo and echo no change.... if I check the execute box in the terminal termux opens but the script does not execute finally no, I agree I did not create a script.sh since the argument replaces... good evening VincentUpon closer review of your screenshot, it appears that the command is cut off in the middle.
Maybe I wrote it wrong.
I have corrected the setup instructions and would like you to try again.
I will add a screenshot of the instructions on how to run the tudo script for your reference.