title: Shell scripting trying to launch tasks in parallel?
body: <p>The basic task I need to do is call a python script multiple times, each time with a different argument. For example:</p>
  
  <pre><code>script.py -t command1
  script.py -t command2
  script.py -t command3
  </code></pre>
  
  <p>Etc. Now the problem is that script.py takes a long time to run, so just putting the above in a shell script and running them in series (one after another) is a waste of time. </p>
  
  <p>Instead what I'd like to be able to do is open up multiple terminals, and in each one, run </p>
  
  <pre><code>script.py -t command_i
  </code></pre>
  
  <p>For the ith command argument. Is there any way of doing this? If not, are there any other helpful parallel options for what I'm trying to do?</p>
  
  <p>Cheers</p>
  
  <p>EDIT - just realized: I probably want some sort of forking, yes? I've never done that with shell scripting though.</p>