in reply to perl scripts as daemons

I have written some Perl scripts that manage other Perl scripts. I used Win32::Process module to start and manage the threads.
use Win32::Process; Win32::Process::Create($Process1, "/myprog.exe", "myprog", 0, DETACHED_PROCESS, "/") || die "Fatality: $!\n"; }


I would then use log files and marker files to make sure that the processes are doing what they are intended to do. Your manager script can then monitor the processes by checking those files. Win32::Process module also has tools you can use to monitor the performance and completion of the threads that it started. You should check out the module documentation and see if it fits your needs. There are other modules that do the same type of think, but I have had the best luck with this one.

Sparky