Detect failed (crashed) processes
Detect failed (crashed) processes
I have an application which has about ten processes. The application is prone to failure due to one or more of its constituent processes crashing. Is there any way to figure out with AHK that a crash has occurred? The purpose of this would be to alert someone who may not be at the computer that the application has failed.
Re: Detect failed (crashed) processes
Hallo,
when your crashed processes torture the CPU,
when your crashed processes torture the CPU,
Code: Select all
https://www.autohotkey.com/board/topic/113942-solved-get-cpu-usage-in/
Re: Detect failed (crashed) processes
Code: Select all
#SingleInstance Force
proc = notepad.exe
Loop {
Process, Wait, %proc%
Process, WaitClose, %proc%
MsgBox, 48, Closed, Yikes!
}
Re: Detect failed (crashed) processes
To monitor Process creation and termination see example 1
viewtopic.php?f=83&t=105171
To alert someone you can (if you) use Teams Webhooks (howto: viewtopic.php?f=7&t=91206) or send mails (search forum)
viewtopic.php?f=83&t=105171
To alert someone you can (if you) use Teams Webhooks (howto: viewtopic.php?f=7&t=91206) or send mails (search forum)
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile