System.Diagnostics.Process - Dispose?

  • Thread starter Thread starter Martin Hart
  • Start date Start date
M

Martin Hart

Hi:

Can anyone clarify whether I should be using Dispose() on a
System.Diagnostics.Process object after I have launched an external
application with Start()?

The application I have launched is *not* a modal application and should
continue to execute even if the lanuching application is closed.

I suppose what I am asking is: If I call Dispose() on the process that
has launched an external program with Start(), will the application be
forced to close?

TIA,
Martin.
 
I don't believe so. You can use .NET Reflector to see Dispose actually does,
and all it seems to do is close handles.
 
Thanks Phil, I thought that might be the case.

Regards,
Martin.


Phil Wilson escribió:
 
Back
Top