title: Have python script run in background of unix
body: <p>I have a python script that I want to execute in the background on my unix server. The catch is that I need the python script to wait for the previous step to finish before moving onto the next task, yet I want my job to continue to run after I exit.</p>
  
  <p>I think I can set up as follows but would like confirmation:</p>
  
  <p>An excerpt of the script looks like this where command 2 is dependent on the output from command 1 since it outputs an edited executable file in same directory. I would like to point out that commands 1 and 2 do not have the nohup/&amp; included.</p>
  
  <pre><code>subprocess.call('unix command 1 with options', shell=True)
  subprocess.call('unix command 2 with options', shell=True)
  </code></pre>
  
  <p>If when I initiate my python script like so:</p>
  
  <pre><code>% nohup python python_script.py &amp;
  </code></pre>
  
  <p>Will my script run in the background since I explicitly did not put nohup/&amp; in my scripted unix commands but instead ran the python script in the background?</p>