I\'m using this:
var proc2 = Process.Start(Path.GetFullPath(filename)); proc2.Exited += (_, __) => { MessageBox.Show(\"closed!\"); };
you forget Enable Events
Process p; p = Process.Start("cmd.exe"); p.EnableRaisingEvents = true; p.Exited += (sender, ea) => { System.Windows.Forms.MessageBox.Show("Cmd was Exited"); };