alu
alu

Reputation: 759

.NET Notification when a process has been killed

My .NET application is starting a second process with Process.Start(".\path\to\process.exe") Is there a way to get notified when this process is killed by another process during the execution?

Upvotes: 1

Views: 506

Answers (1)

SLaks
SLaks

Reputation: 888185

You're looking for the Exited event in the returned Process instance.

Upvotes: 3

Related Questions