Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by haukex (Archbishop)
on Apr 11, 2022 at 05:37 UTC ( [id://11142909] : note . print w/replies, xml ) Need Help??


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.