title: How to start/kill application with python script?
body: <p>I use Linux (LMDE) and I'm wondering how to make simple .py script to start and stop another python app. For instance :</p>
  
  <pre><code>if pyApp is running :
     kill pyApp
     exit xterminal
  
  else :
     start xterminal
     python pyApp.py
  </code></pre>
  
  <p>Is it appropriate with python or should I use bash?</p>