Relative Content

Tag Archive for pythonadbiperf

How to keep cmd window initiated by os.system open?

I am having problems with my python script. I am trying to automate a process using python on windows machine. I open an adb shell and run iperf using it. os.system initiates an cmd window and I can see the output. This code works as it should but there is a problem. Sometimes the windows closes arbitrarily. There is no specific time for it they run for a while and then they got close randomly (as it looks).