Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Prevent Users from Exiting Windows Scriptby Dru (Hermit) |
on Oct 28, 2005 at 15:51 UTC ( [id://503697]=perlquestion: print w/replies, xml ) | Need Help?? |
Dru has asked for the wisdom of the Perl Monks concerning the following question:
Fellow Monks, Is anyone aware of a way to prevent users from using the "X" or close button in a DOS screen to keep them from exiting a script prematurely? I guess I also need to account for a ctrl+C, but I should be able to catch those and ignore them. If I could hide the top bar of the DOS window, that should be enough. I am not using any kind of gui manager, just ActiveState's Perlapp to convert the script into a .exe. Thank you for any suggestions, Dru
Back to
Seekers of Perl Wisdom
|
|