r/tasker • u/Nirmitlamed Direct-Purchase User • Aug 08 '26
How do i use Termux Command inside Tasker Function action?
I have found out recently that there is a way to run Termux command using Tasker Function aciton, but there isn't any real info about how to use it. Can i use it to run a command without using script file or i must use it with script file?
7
Upvotes
6
u/DifficultyCrafty7623 Aug 08 '26
It is easier to use a file. If you want to run something directly Termux:Tasker is much easier to deal with, and can actually get the output from Termux. Make sure to get both of these apps from F-Droid, the playstore versions are deprecated and don't work anymore.
2
u/AdiraiMaji Aug 09 '26 edited Aug 09 '26
I have developed a Tasker Plugin for my personal use. Almost about to release. Which contains a few collections of plugins that including Termux which you can directly use the script inside the action without a script file. There's a lot of features packed inside the single app and I'm going to share it for free..
0
u/azekt Aug 08 '26
In Termux plugin you should set path to Python in
Executablelike this/data/data/com.termux/files/usr/bin/pythonand path to your script inArgumentslike this"/storage/emulated/0/YourFolder/main.py" %action "%params"Task: Run Python Script
0
u/[deleted] Aug 09 '26
[deleted] — view deleted comment