title: WindowsError: [Error 5] Access is denied
body: <p>I've been trying to kill a process but all my options give me a Windows Access Denied Error. 
  I open the process(a python script) through <code>test= subprocess.Popen([sys.executable, "testsc.py"])</code> and I want to kill that process.</p>
  
  <p>So far, I've tried <code>os.kill(pid, signal.SIGILL)</code> , <code>os.kill(pid, 9)</code>, <code>test.Terminate()</code> and simply <code>test.kill()</code>. All of these give me the error.</p>
  
  <p>I am using Python 2.7.1.4 on a Windows 7 x86 machine. I would appreciate the help! Thanks!</p>