G
Guest
Hello,
I'm using a C# application to create a process "A" to execute an .exe file.
The problem is that when the application is killed (for example from task
manager) the child process keeps on running.
The question is how can i run the "A" process so that when my application is
killed or crashes the child process "A" will be terminated?
I'm using this code:
Process A = new Process();
A.StartInfo.FileName = some_exe_path;
A.Start();
Thanks in advance
I'm using a C# application to create a process "A" to execute an .exe file.
The problem is that when the application is killed (for example from task
manager) the child process keeps on running.
The question is how can i run the "A" process so that when my application is
killed or crashes the child process "A" will be terminated?
I'm using this code:
Process A = new Process();
A.StartInfo.FileName = some_exe_path;
A.Start();
Thanks in advance