title: How to run adb commands through python?
body: <p>I've ten different adb commands and want to execute it concurrently as a separate process . I've used subprocess module &amp; but process doesn't seem to run concurrently. Is there an efficient method in python to run process concurrently? My code snippet is below</p>
  
  <pre><code>def run(com):
         sub = subprocess.Popen(command, shell=True,
              stdout=subprocess.PIPE,
              stderr=subprocess.STDOUT)
      return sub.communicate()
  cmd =[adb commands 1 to 10]
  for i in cmd:
     run(i)
  </code></pre>