L
Lloyd Gomes via .NET 247
I have searched extensively and not found anything on how to dothis.
The prolem is as follows. I have a console application thatlaunches some command line utilities using theSystem.Diagnostic.Process class. Basically I want to just killany of these child processes if the parent/controlling app dies.I have tried everything suggested including things likeimplementing the IDisposable interface but nothing seems to workbasically i need to terminate all child processes as soon as theparent dies. Any suggestions?
The prolem is as follows. I have a console application thatlaunches some command line utilities using theSystem.Diagnostic.Process class. Basically I want to just killany of these child processes if the parent/controlling app dies.I have tried everything suggested including things likeimplementing the IDisposable interface but nothing seems to workbasically i need to terminate all child processes as soon as theparent dies. Any suggestions?