in reply to Re: 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?
  • Comment on Re^2: Can I have a Perl script, initiated from a browser, fork itself, and not wait for the child to end?

Replies are listed 'Best First'.
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
    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.