Hi,
I need to close all my child processes when the parent is terminated (the
parent is running as a service with srvany.exe)
I'm using this code to start child processes:
ProcessStartInfo pi = new ProcessStartInfo();
pi.FileName = Application.StartupPath + "\\bin\\mysqld-opt.exe";
pi.WindowStyle = ProcessWindowStyle.Hidden;
pi.UseShellExecute = false;
pi.RedirectStandardError = true;
pi.RedirectStandardOutput = true;
pi.CreateNoWindow = true;
p = Process.Start(pi);
Thanks guys.
Luca
--
Phatsoft Inc.