title: JavaScript killing a process
body: <p>I am writing using JavaScript. I have a PID of a process. How do I kill it?
  You can terminate by a name using <a href="http://en.wikipedia.org/wiki/Windows_Management_Instrumentation" rel="nofollow noreferrer">WMI</a>, How can you do it using PID?</p>
  
  <p>UPDATE: The platform is Windows.</p>