title: Cloud9 - Open new terminal from command line
body: <p>I created one script which will start my application and other services in another terminal but it is not working </p>
  
  <p>I tried <strong>gnome-terminal</strong> but command not found error showing </p>
  
  <pre><code>#!/bin/sh
  mongod
  gnome-terminal -e ./setup/elasticsearch-2.2.0/bin/elasticsearch
  </code></pre>
  
  <p><strong>Edit :</strong> </p>
  
  <pre><code>#!/bin/sh
  mongod &amp; 
  bash ./setup/elasticsearch-2.2.0/bin/elasticsearch &amp; 
  cd ./project/movie/
  node server.js
  </code></pre>
  
  <p>Because of background process at 2 line elasticsearch starting and then 3 and 4 line is executed and at 4 line elastic search is not started it is in starting process actually so my node will throw the error </p>
  
  <p>{ [Error: No Living connections] message: 'No Living connections' }</p>