in reply to Run some commands in parallel

Be warned that Perl does not have reliable signal handling - it will occasionally dump core. And the more you put into the signals, the more likely it is to dump core!

A more reliable approach to a related though slightly different problem is offered at Run commands in parallel. If you want to capture the output you could always open a series of pipes and use select (or IO::Select) to read from them. (Or write to files and read back. etc.)

  • Comment on Re (tilly) 1: Run some commands in parallel