You could fork off N children at a time to handle the machines

the child could then write to a file its PID (or equivalent), do its job and
then remove the pid file when done

the parent could fork the 5 kids - bang their PIDs into an array and after 5
seconds kill the process of any child that hasn't completed and removed its
file

assuming of course you can emulate a real operating system in 'doze.

I think cygwin would allow you to do this okay..

regards,

A.

--
Aaron J Trevena, BSc (Hons)     www.head2head.co.uk
Internet Application Developer  Perl, UNIX, IIS/ASP



_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to