title: Killing a process with taskkill /F returning code 0
body: <p>I need to kill a windows process (java.exe). I'm currently using:</p>
  
  <pre><code>taskkill.exe /F /IM java.exe
  </code></pre>
  
  <p>I need to use the /F option since is a critical process,but in this way I get a return code 1 instead I need a return code 0 (returned when I don't use /F for killing other not critical processes)</p>
  
  <p>how could I fix this problem?</p>
  
  <p>Many thanks</p>