title: Python hangs when executing a shell script that runs a process as a daemon
body: <p>I am trying to use <code>os.system</code> (soon to be replaced with <code>subprocess</code>) to call a shell script (which runs a process as a daemon)</p>
  
  <pre><code>os.system('/path/to/shell_script.sh')
  </code></pre>
  
  <p>The shell script looks like:</p>
  
  <pre><code>nohup /path/to/program &amp;
  </code></pre>
  
  <p>If I execute this shell script in my local environment, I have to hit enter before being returned to the console as the shell script is running a process as a daemon.  If I do the above command in python, I also have to hit enter before being returned to the console.</p>
  
  <p>However, if I do this in a python program, it just hangs forever.</p>
  
  <p>How can I get the python program to resume execution after calling a shell script that runs a process as a daemon?</p>