Hi
May I suggest to add 3 Returning Variables, that will be filled by the Termux Task plugin, after returning from the execution?
The needed 3 variables are:
%stdout
%stderr
%err (the returning error code from the program that was run)
Please see this screenshot:
https://i.postimg.cc/QdwwXNVX/Screenshot-20190417-144859-resize.png
(the first 2 appear, and the 3rd one does not appear, but Tasker fills it into a variable named %err)
That way we can easily get the Result from the program we ran.
Thank you very much