title: Multiple terminals, multiple commands, lxterminal
body: <p>I am working with Python. Writing a script, I am attempting to use <code>os.system()</code> to open a new terminal, create new tabs and run different commands in each respective tab (which appear to run simultaneously).</p>
  
  <p>I am familiar with <code>gnome-terminal</code> as it is what I have used in the past, however the system I am working with at the moment, a Raspberry Pi (Raspbian), uses <code>lxterminal</code>.</p>
  
  <p>I have always used </p>
  
  <pre><code>    os.system("gnome-terminal --tab -e 'command1' --tab -e 'command2' ")
  </code></pre>
  
  <p>with success, but I don't know how to reproduce these results with <code>lxterminal</code>. So, basically I'm asking if and how <code>lxterminal</code> can do this.</p>
  
  <p>I can create the tabs, no problem, with </p>
  
  <pre><code>    lxterminal --tabs=1,2,3
  </code></pre>
  
  <p>and </p>
  
  <pre><code>    lxterminal --tabs=1,2,3 --command="command1"
  </code></pre>
  
  <p>does create the tabs and execute the first command in the first tab... but that's as close as I can get, and obviously that doesn't do the trick of multiple commands in tabs 2 and 3.</p>
  
  <p>If the <code>lxterminal</code> man gives any clues I'm just missing them... I thought maybe the brackets under <code>-t</code>, <code>--title</code>, and <code>--tabs</code> section might point to details for those, so I tried something like</p>
  
  <pre><code>    lxterminal --tabs=1[--command="command1"],2[--command="command2"]
  </code></pre>
  
  <p>But that only titled the tabs.... as expected. </p>
  
  <p>All of my searches point me back to <code>gnome-terminal</code> but if there's a way to make <code>lxterminal</code> do this, I'd love to know. </p>