M murgero Member Licensed User Longtime User Oct 29, 2014 #1 Is there any way to get real time shell output and update a label accordingly? I tried to use this snippet as a base but I cannot get it to be real time. http://www.b4x.com/android/forum/threads/running-shell-commands-as-superuser.6886/ Any suggestions?
Is there any way to get real time shell output and update a label accordingly? I tried to use this snippet as a base but I cannot get it to be real time. http://www.b4x.com/android/forum/threads/running-shell-commands-as-superuser.6886/ Any suggestions?
Erel B4X founder Staff member Licensed User Longtime User Oct 30, 2014 #2 Not with the Shell object. Upvote 0
M murgero Member Licensed User Longtime User Oct 30, 2014 #3 I'm really new to this, can you at least point me in the right direction? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 31, 2014 #4 Which command are you trying to run? Upvote 0
M murgero Member Licensed User Longtime User Nov 3, 2014 #5 I am attempting to write my own init.d script launcher for my phone as it has no init.d support, so just basic shell commands. Upvote 0
I am attempting to write my own init.d script launcher for my phone as it has no init.d support, so just basic shell commands.
Erel B4X founder Staff member Licensed User Longtime User Nov 4, 2014 #6 I'm not familiar with any type other than Shell that allows you to run external processes. Shell doesn't allow you to interact with the process when it runs. Upvote 0
I'm not familiar with any type other than Shell that allows you to run external processes. Shell doesn't allow you to interact with the process when it runs.
Informatix Expert Licensed User Longtime User Nov 4, 2014 #7 murgero said: I am attempting to write my own init.d script launcher for my phone as it has no init.d support, so just basic shell commands. Click to expand... Did you try Universal Init.d ? https://play.google.com/store/apps/details?id=com.androguide.universal.init.d&hl=fr_FR Upvote 0
murgero said: I am attempting to write my own init.d script launcher for my phone as it has no init.d support, so just basic shell commands. Click to expand... Did you try Universal Init.d ? https://play.google.com/store/apps/details?id=com.androguide.universal.init.d&hl=fr_FR