in reply to Re^2: Can I have a Perl script, initiated from a browser, fork itself, and not wait for the child to end?
in thread Can I have a Perl script, initiated from a browser, fork itself, and not wait for the child to end?

Is this not reinventing part of Minion?

Depends on which part you mean. Minion is a good suggestion, but it also depends on the OP's requirements - if it's just a single task, then I think my code is good enough, but if OP needs to run more subprocesses then Minion's features would certainly be an advantage. However, AFAICT Minion doesn't support EventSource, which was a major point of my post.

Edit: Minor clarification.

  • Comment on Re^3: Can I have a Perl script, initiated from a browser, fork itself, and not wait for the child to end?