in reply to Window Close / Process Termination Handler on Windows
See The implementation of SIGHUP in Win32 Perl, it appears closing the cmd.exe/console window is killing perl process , so no signal catching is possible
In Section
Seekers of Perl Wisdom