in reply to Re^3: fork, but not waiting on children
in thread <solved> fork, but not waiting on children

Thanks for the hint about Proc::Simple. I was hoping that maybe I could remove the 'sleep 1' in the parent process but unfortunately that is not the case. Still need to wait a bit before calling $proc->poll().

For the moment I'll stay with manually doing the forking but if there's a bug or otherwise strange behavior it's good to know I can easily replace it with a generic solution.

  • Comment on Re^4: fork, but not waiting on children