T
T
Ternick2019-09-18 16:26:49
Python
Ternick, 2019-09-18 16:26:49

Why doesn't taskkill /PID PID /T /F kill the process?

I wrote a script that, as soon as it needs to launch the program, and as soon as the program is no longer needed, it will have to forcibly close it, everything works like clockwork on my machine, but it’s worth switching to aws ec2 and the following messages start popping up:
Screenshot-from-2019-09-18-16-13-40.png
And if you open the console, then everything is killed.
I didn’t find anything useful on the Internet :(
Any ideas how to fix this?
<There is only one idea, write your own program in some C ++ that will kill the program by PID>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Dmitriev, 2019-09-25
@SignFinder

With handles you kill the process from cmd, launched from under Administrator, and on the top screen - from the usual one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question