title: run xterm -e without terminating
body: <p>I want to run xterm -e file.sh without terminating.</p>
  
  <p>In the file, I'm sending commands to the background and when the script is done, they are still not finished.</p>
  
  <p>What I'm doing currently is:</p>
  
  <pre><code>(cd /myfolder; /xterm -ls -geometry 115x65 -sb -sl 1000) 
  </code></pre>
  
  <p>and then after the window pops up</p>
  
  <pre><code>sh file.sh
  exit
  </code></pre>
  
  <p>What I want to do is something like:</p>
  
  <pre><code>(cd /myfolder; /xterm -ls -geometry 115x65 -sb -sl 1000 -e sh file.sh)
  </code></pre>
  
  <p>without terminating and wait until the commands in the background finish.</p>
  
  <p>Anyone know how to do that?</p>