title: how to open a gnome terminal to execute a command with gnome-terminal, constantly?
body: <p>I have a sh file which includes those lines:</p>
  
  <pre><code>gnome-terminal\
    --tab\
      --title="ElasticSearch"\
      --working-directory="/home/username/program/bin"\
      -e "bash -c './somecommand'"\
  </code></pre>
  
  <p>when I run it, a gnome terminal will open and run a command for me. The  problem is, when I press ctrl+c to stop the running command, the terminal closed. Is there a way to stop the running command and keep the terminal alive? Thanks in advance. </p>