I am automating some installation procedures using Perl. Now I wish to know when the installation procedure I fired has gotten finished. How do I do this? Since this is automation work, I cannot ask people to fire some commands at a later point of time. This functionality should be automatic. How do I do this on Windows?
Share
Greg Hewgill’s answer addresses the underlying Windows API functions you need, but not how to use them in Perl. You can use the Win32::Process module for this:
$processcan also be passed to the Win32::IPC functionswait_anyandwait_allif you need to wait for more than one object at a time.