0

I want to kill a process using php with exec function in windows. Usually what I do is TASKKILL /S system /F /IM program.exe

But when I execute this thorough php, it always shows access denied. But I can execute the same with cmd (run as admin). Is there any way to kill the process. I don't mind security issues. Just want a solution.

Sina R.
  • 1,781
  • 2
  • 19
  • 37
Jeff
  • 394
  • 3
  • 13

0 Answers0