title: starting script in background
body: <p>the problem:</p>
  
  <p>starting a bash script in background when in another script. the script is used to start the weblogic nodemanager.</p>
  
  <p>the attempts:</p>
  
  <p>command line it will launch without a hitch</p>
  
  <pre><code>./startNodeManager.sh &amp;
  </code></pre>
  
  <p>when in a bash script it works as well:</p>
  
  <pre><code>cat startNMScript.sh
  ./startNodeManager11G.sh &amp;
  </code></pre>
  
  <p>execution:</p>
  
  <pre><code>./startNMScript.sh
  </code></pre>
  
  <p>however, neither of these options work when I call them from a WLST(Jython 2.2.1) where subprocess isn't supported, and exporting the module from another install doesn't work.
  I have used os.system('startNodeManager11G.sh &amp;') and os.system('startNMScript.sh').</p>
  
  <p>results are either that it won't start, and continue the script, or that it will start, but stop as soon as I kill the script, which will hang after execution of that line</p>