I have a C# app which uses a System.Diagnostics.Process to run another exe. I ran into some example code where the process is started in a try block and closed in a finally block. I also saw example code where the process is not closed.
What happens when the process is not closed?
Are the resources used by the process reclaimed when the console app that created the process is closed?
Is it bad to open lots of processes and not close any of them in a console app that's open for long periods of time?
Cheers!