cancel
Showing results for 
Search instead for 
Did you mean: 

End Process vs End Process Tree

Moderator
Moderator
Posts: 18,589
Thanks: 2,888
Fixes: 238
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: 5,691
Thanks: 1,569
Fixes: 37
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: 18,589
Thanks: 2,888
Fixes: 238
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: 905
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.