title: Unrar and unzip simultaneously
body: <p>I have a tcl script but that can only one decompress one thing at a time.
  I must currently wait for the moment it has finished, before I can make the next. How do I do two things at once?</p>
  
  <pre><code>bind pubm - "*complete*" unrar
  
  proc unrar {nick host handle channel text} {
      set text [stripcodes bcru $text]
      set name [lindex [split $text] 2];
      set dir "/tmp/unrar"
      if {[catch {exec /bin/sh -c "unrar e $dir/$name $dir/archive/$name"} error]} {
          putlog "error: $error";
      }
  }
  </code></pre>
  
  <p>Regards</p>