in reply to Wait for individual sub processes [SOLVED]

Hi crackerjack.tej,

Welcome to the monastery!

You can try Parallel::ForkManager. You can set up to 16 the number of forked off children.

my $pm = Parallel::ForkManager->new(16);
This way new child process will be forked whenever one running child has been finished.

Replies are listed 'Best First'.
Re^2: Wait for individual sub processes
by crackerjack.tej (Novice) on Apr 25, 2015 at 07:34 UTC

    Thanks for the quick response, pme. I had looked at Parallel::ForkManager before. What I did not understand was waiting for each sub-process individually, as I need to submit the corresponding chunk of my next input file. I will look into it again to see if I understand it better now.

    Thank you