问题
I'm trying to build a Android terminal emulator using Kivy, for now, I can use some simple commands, like ping
and wget
, and grab their output using subprocess.PIPE
, but I can't figure out how to use more complex commands like su
or nano
. For instance, su
gives a error saying that is must be run in a terminal. What I have create a Android terminal emulator using Kivy?
来源:https://stackoverflow.com/questions/40755167/how-to-simulate-a-terminal-in-android-using-kivy