I wrote kinda daemon in Perl, portable one (not using any Win32 functions).
I managed to write a WSH script to start it in the background (without visible console window), but what disappoints me
is that on Win9x at least, when user logs off or reboots a box, she gets "Perl - please close this application first. OK/Cancel." dialog. I would like
to avoid that warning completely. I need the script to terminate automatically on logoff, and have other reasons not to write it as a Windows Service.
There are no such problems with Win2k and above (NT not tested).
Could you please recommend any colution? I even don't mind adding invokations of Win32:: functions to it.. I think some kind of wrapper (small .exe that starts a specified commandline and kills child when Windows is about to be rebooted) should exist..
Thanks in advance for your answer.