-
Notifications
You must be signed in to change notification settings - Fork 154
Description
Greetings!
Thanks for creating this great library!
as the title itself, this is not a issue or a bug but a question regarding on how to interact with the script/command
command/script:
echo "How old are you?"
read -p age
echo "so your age is "$age
2 scenario:
Scenario A:(putting it on shell script (*.sh file))
Steps:
- copy the script to /data/data/package_name/home
- adding proper permission using chmod
- running the script
Result:
it will stdout/err at once:(something looks like below)
How old are you?
read rand_id
so your age is age_rand_id
(random generated id/text = rand_id)
and when you submit another command it will not stdout/err or any output
Scenario 2:(adding the command libe by line)
from the start, executing echo will work : "How old are you?"
but executing read command it will not display any output or stdout/err...
and when you submit another command it will not stdout/err or any output
Big question: how should I tackle this?
and I also notice this in some unfinished command and for loop command(assuming that you will put the command line by line), and it seems you partly added the behaviour that I want (interact with script) but it seems it only works in if-else statement.
Lib_ver: the current/latest jar as of june 2023
Phone: android 9, aarch64,Armv8a, not-rooted
Thanks and regards,
STICKnoLOGIC