Kill(entireProcessTree: true) - cannot terminate self (?) #85383
Open
Description
opened on Apr 26, 2023
This works as expected and terminates application :
Process.GetCurrentProcess().Kill(entireProcessTree: false);
This throws InvalidOperation
Process.GetCurrentProcess().Kill(entireProcessTree: true);
Exception origin here ;
**
Would it be possible to allow also the 'self-termination-with-children' scenario gracefully ?
Activity