title: control to the next statement after running eval command
body: <p>I have written a bash script to run a service in background and exit from the script to command line. But after running the eval command, control does not go the next statement.</p>
  
  <pre><code>COMMAND="nohup java -jar jenkins.war"
  echo "starting service"
  eval $COMMAND
  echo "service running"
  exit
  </code></pre>
  
  <p>echo "service running" and exit never happens. I want to run the process in the background, and return to the command prompt while the service is still running. How do I do this?</p>