PeaceMaker535
New member
Hi! I have a termux shell script which I run from Macrodroid using the Termux:Tasker plugin. The problem is that the script takes atleast a minute to finish but for some reason the plugin does not wait for the execution to finish before executing the next command. I don't see any option to say wait for the script to finish before executing other set of commands nor an option to set timeout. The Termux:Tasker page (https://github.com/termux/termux-tasker) talks about having the default timeout as 10 secs and a option to set `Wait for results for command` but I don't see these option when setting up the plugin in Macrodroid. Please help me in figuring out the following -
1. Run a termux script and wait for it to finish before executing the next set of commands (as I need the stdout of this for the next command to proceed).
2. In case the above execution doesnot finish within the specified timeout, then kill it.
Any help would be much appreciated!
1. Run a termux script and wait for it to finish before executing the next set of commands (as I need the stdout of this for the next command to proceed).
2. In case the above execution doesnot finish within the specified timeout, then kill it.
Any help would be much appreciated!