title: Running scripts at the same time but on different consoles
body: <p>It is possible to open 2 different consoles for the execution of each script, if this is the case what would be the modification to be made in this code</p>
  <pre><code>import subprocess, os
  
  scripts_paths= (&quot;C:/Users/Luis/snmp_nms.py&quot;,&quot;C:/Users/Luis/trap_receiver.py&quot;)
  
  procesos=[subprocess.Popen([&quot;python&quot;,script],shell=True) for script in scripts_paths]
  
  exit_codes=[p.wait() for p in procesos]
  
  if not any (exit_codes):
   print(&quot;Procesos terminados&quot;)
  
  else:
   print(&quot;Algunos procesos terminaron de manera innesperada&quot;)
  </code></pre>
  <p>The script executes the two programs at the same time, however the messages appear mixed in the console, so it is required to appear separately.</p>