Hello all,

I've been asked to write a small script that monitors a process on a local
workstation and if the process is not found launch it. What I'm doing for
monitoring the process is using Win32::PerfLib module and in a while(1) loop
I am enumerating the processes and then checking to see if there's a match.
What I've noticed is once the program launches once and then I kill it
manually, it still shows up in the process table (as enumerated by the
Win32::PefLib module) not in the task list. Is there a way to refresh the
process table using Win32::PerfLib or am I approaching this the wrong way??

Any help is greatly appreciated.

Thanks.

-Eugene

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to