title: Call external command in python, but stay in python
body: <p>I'm using python on a Raspberry Pi to display an image slideshow with the program fim.</p>
  
  <pre><code>subprocess.call(["fim /home/pi/slates"], shell=True)
  </code></pre>
  
  <p>Once fim has opened the focus stays on fim, not python. There are keyboard commands in python that no longer respond.</p>
  
  <p>How do I go back to python after fim has been opened? Is there a way to control fim through python if it's no longer in focus?</p>