cancel
Showing results for 
Search instead for 
Did you mean: 

End Process vs End Process Tree

Moderator
Moderator
Posts: 16,806
Thanks: 1,928
Fixes: 132
Registered: 06-04-2007

End Process vs End Process Tree

Occasionally I have to resort to using End Process to recover from a program crash or when it seems to be 'stuck'.
But what is the difference between End Process and End Process Tree? I have tried both and can't tell any difference in action(s) taken apart from the program quitting and able to be restarted.

Forum Moderator and Customer
Courage is resistance to fear, mastery of fear, not absence of fear - Mark Twain
He who feared he would not succeed sat still

3 REPLIES
Community Veteran
Posts: 4,975
Thanks: 1,152
Fixes: 28
Registered: 16-10-2014

Re: End Process vs End Process Tree

When an application starts up it get a Process ID (PID) this process can of course spawn other processes and it is this these processes that make the process tree. When you kill the process you can leave others dangling which can have adverse effects. But if you kill the process tree all sub processes spawned by the primary process are killed first with the main PID killed last. If you are in any doubt use kill tree.
Moderator
Moderator
Posts: 16,806
Thanks: 1,928
Fixes: 132
Registered: 06-04-2007

Re: End Process vs End Process Tree

I kinda thought that would be the answer. I tend to use End Process Tree most of the time anyway.
Thanks.

Forum Moderator and Customer
Courage is resistance to fear, mastery of fear, not absence of fear - Mark Twain
He who feared he would not succeed sat still

kmilburn
Grafter
Posts: 902
Thanks: 2
Registered: 30-07-2007

Re: End Process vs End Process Tree

If you use a decent task manager like Process explorer,  it'll show you the process tree too.