As cdarke said, under windows perl emulates fork with threads, and that is likely to break if you call exec in the child threads.
It has been a long time, but in the past, I have had success with Win32::Process. I suggest you use that to start each of your worker processes, and store the process objects of each in an array or has in the parent perl process. Then when they have all started, just call $ProcessObj->Wait($timeout) on each in a loop until they all quit.
The other thing I would do would be to experiment with starting instances of familiar windows GUI programs such as notepad that you can easily quit manually, so that you can quickly get things working before switching to long running programs.
In reply to Re: Main program exits even before the child process completes on windows
by chrestomanci
in thread Main program exits even before the child process completes on windows
by vivekarcot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |