title: subprocess.Popen and relative directories
body: <p>I am writing a script to open notepad.exe using subprocess.Popen()</p>
  
  <pre><code>import subprocess 
  command = '%windir%\system32\\notepad.exe'
  process = subprocess.Popen(command)
  output = process.communicate()
  print(output[0])
  </code></pre>
  
  <p>This throws a FileNotFoundError</p>
  
  <p>Is it possible to change/add to the above code to make it work with relative paths?
  I did try to run the script from C:\Windows> after moving it there, which again failed. Also set the shell=True, but failed as well.
  Writing a similar script using os.popen() works ok with relative paths, regardless which directory the script is run from, but as far as I understand popen is not the way forward..</p>
  
  <p>Early steps in the world of programming/Python. Any input much appreciated.</p>