When for example a script does something like os.system("adb forward tcp:8080 tcp:8080") there is no way of viewing the terminal output to know if it worked or not.
Ideally we should be verifying the output in the script, but it would also be very handy to see the console output in the gui. If we abstract all system calls to a magnetism function then we a console output section at the bottom of the main frame. This section can be hidden and made visible optionally when a script uses it.
When for example a script does something like os.system("adb forward tcp:8080 tcp:8080") there is no way of viewing the terminal output to know if it worked or not.
Ideally we should be verifying the output in the script, but it would also be very handy to see the console output in the gui. If we abstract all system calls to a magnetism function then we a console output section at the bottom of the main frame. This section can be hidden and made visible optionally when a script uses it.
Use the subprocess module for this